comparison src/bridge/DBus.py @ 1435:7590bbf44eed

bridge, quick_frontend: the JID that is assigned by the server can differ from the one we asked for (resource)
author souliane <souliane@mailoo.org>
date Wed, 10 Jun 2015 18:04:43 +0200
parents 159d16336f87
children ceba6fd77739
comparison
equal deleted inserted replaced
1434:b06047e1c1fb 1435:7590bbf44eed
139 signature='ssa{ss}s') 139 signature='ssa{ss}s')
140 def askConfirmation(self, id, conf_type, data, profile): 140 def askConfirmation(self, id, conf_type, data, profile):
141 pass 141 pass
142 142
143 @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX, 143 @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX,
144 signature='s') 144 signature='ss')
145 def connected(self, profile): 145 def connected(self, profile, jid_s):
146 pass 146 pass
147 147
148 @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX, 148 @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX,
149 signature='ss') 149 signature='ss')
150 def contactDeleted(self, entity_jid, profile): 150 def contactDeleted(self, entity_jid, profile):
553 self.dbus_bridge.actionResultExt(answer_type, id, data, profile) 553 self.dbus_bridge.actionResultExt(answer_type, id, data, profile)
554 554
555 def askConfirmation(self, id, conf_type, data, profile): 555 def askConfirmation(self, id, conf_type, data, profile):
556 self.dbus_bridge.askConfirmation(id, conf_type, data, profile) 556 self.dbus_bridge.askConfirmation(id, conf_type, data, profile)
557 557
558 def connected(self, profile): 558 def connected(self, profile, jid_s):
559 self.dbus_bridge.connected(profile) 559 self.dbus_bridge.connected(profile, jid_s)
560 560
561 def contactDeleted(self, entity_jid, profile): 561 def contactDeleted(self, entity_jid, profile):
562 self.dbus_bridge.contactDeleted(entity_jid, profile) 562 self.dbus_bridge.contactDeleted(entity_jid, profile)
563 563
564 def disconnected(self, profile): 564 def disconnected(self, profile):