diff sat/core/xmpp.py @ 2894:c7c52c0dc13a

core, quick_frontend(app): fixed connected signal handling
author Goffi <goffi@goffi.org>
date Sun, 07 Apr 2019 20:55:27 +0200
parents 82b781c46841
children f6b0088ce247
line wrap: on
line diff
--- a/sat/core/xmpp.py	Sun Apr 07 18:50:13 2019 +0200
+++ b/sat/core/xmpp.py	Sun Apr 07 20:55:27 2019 +0200
@@ -259,10 +259,8 @@
         self._connected_d.addCallback(self._disconnectionCb)
         self._connected_d.addErrback(self._disconnectionEb)
 
-        self.host_app.bridge.connected(
-            self.profile, unicode(self.jid)
-        )  # we send the signal to the clients
-
+        # we send the signal to the clients
+        self.host_app.bridge.connected(self.jid.full(), self.profile)
 
         self.disco = SatDiscoProtocol(self)
         self.disco.setHandlerParent(self)