diff src/core/xmpp.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 b06047e1c1fb
children 7797dda847ae
line wrap: on
line diff
--- a/src/core/xmpp.py	Wed Jun 10 09:18:34 2015 +0200
+++ b/src/core/xmpp.py	Wed Jun 10 18:04:43 2015 +0200
@@ -59,7 +59,7 @@
         self.__connected = True
         log.info(_("********** [%s] CONNECTED **********") % self.profile)
         self.streamInitialized()
-        self.host_app.bridge.connected(self.profile)  # we send the signal to the clients
+        self.host_app.bridge.connected(self.profile, unicode(self.jid))  # we send the signal to the clients
 
     def streamInitialized(self):
         """Called after _authd"""