diff 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
line wrap: on
line diff
--- a/src/bridge/DBus.py	Wed Jun 10 09:18:34 2015 +0200
+++ b/src/bridge/DBus.py	Wed Jun 10 18:04:43 2015 +0200
@@ -141,8 +141,8 @@
         pass
 
     @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX,
-                         signature='s')
-    def connected(self, profile):
+                         signature='ss')
+    def connected(self, profile, jid_s):
         pass
 
     @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX,
@@ -555,8 +555,8 @@
     def askConfirmation(self, id, conf_type, data, profile):
         self.dbus_bridge.askConfirmation(id, conf_type, data, profile)
 
-    def connected(self, profile):
-        self.dbus_bridge.connected(profile)
+    def connected(self, profile, jid_s):
+        self.dbus_bridge.connected(profile, jid_s)
 
     def contactDeleted(self, entity_jid, profile):
         self.dbus_bridge.contactDeleted(entity_jid, profile)