diff src/bridge/DBus.py @ 513:8ee9113d307b

core, quick_frontend, primitivus, wixi, bridge: fixed delayed message timestamp: - new "extra" parameter in newMessage signal
author Goffi <goffi@goffi.org>
date Sat, 20 Oct 2012 17:23:56 +0200
parents 862c0d6ab974
children 2c4016921403
line wrap: on
line diff
--- a/src/bridge/DBus.py	Wed Oct 17 00:35:48 2012 +0200
+++ b/src/bridge/DBus.py	Sat Oct 20 17:23:56 2012 +0200
@@ -155,8 +155,8 @@
         pass
 
     @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX,
-                         signature='sssss')
-    def newMessage(self, from_jid, message, mess_type, to_jid, profile):
+                         signature='ssssa{ss}s')
+    def newMessage(self, from_jid, message, mess_type, to_jid, extra, profile):
         pass
 
     @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX,
@@ -533,8 +533,8 @@
     def newContact(self, contact_jid, attributes, groups, profile):
         self.dbus_bridge.newContact(contact_jid, attributes, groups, profile)
 
-    def newMessage(self, from_jid, message, mess_type, to_jid, profile):
-        self.dbus_bridge.newMessage(from_jid, message, mess_type, to_jid, profile)
+    def newMessage(self, from_jid, message, mess_type, to_jid, extra, profile):
+        self.dbus_bridge.newMessage(from_jid, message, mess_type, to_jid, extra, profile)
 
     def paramUpdate(self, name, value, category, profile):
         self.dbus_bridge.paramUpdate(name, value, category, profile)