comparison 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
comparison
equal deleted inserted replaced
512:862c0d6ab974 513:8ee9113d307b
153 signature='sa{ss}ass') 153 signature='sa{ss}ass')
154 def newContact(self, contact_jid, attributes, groups, profile): 154 def newContact(self, contact_jid, attributes, groups, profile):
155 pass 155 pass
156 156
157 @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX, 157 @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX,
158 signature='sssss') 158 signature='ssssa{ss}s')
159 def newMessage(self, from_jid, message, mess_type, to_jid, profile): 159 def newMessage(self, from_jid, message, mess_type, to_jid, extra, profile):
160 pass 160 pass
161 161
162 @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX, 162 @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX,
163 signature='ssss') 163 signature='ssss')
164 def paramUpdate(self, name, value, category, profile): 164 def paramUpdate(self, name, value, category, profile):
531 self.dbus_bridge.newAlert(message, title, alert_type, profile) 531 self.dbus_bridge.newAlert(message, title, alert_type, profile)
532 532
533 def newContact(self, contact_jid, attributes, groups, profile): 533 def newContact(self, contact_jid, attributes, groups, profile):
534 self.dbus_bridge.newContact(contact_jid, attributes, groups, profile) 534 self.dbus_bridge.newContact(contact_jid, attributes, groups, profile)
535 535
536 def newMessage(self, from_jid, message, mess_type, to_jid, profile): 536 def newMessage(self, from_jid, message, mess_type, to_jid, extra, profile):
537 self.dbus_bridge.newMessage(from_jid, message, mess_type, to_jid, profile) 537 self.dbus_bridge.newMessage(from_jid, message, mess_type, to_jid, extra, profile)
538 538
539 def paramUpdate(self, name, value, category, profile): 539 def paramUpdate(self, name, value, category, profile):
540 self.dbus_bridge.paramUpdate(name, value, category, profile) 540 self.dbus_bridge.paramUpdate(name, value, category, profile)
541 541
542 def presenceUpdate(self, entity_jid, show, priority, statuses, profile): 542 def presenceUpdate(self, entity_jid, show, priority, statuses, profile):