Mercurial > libervia-backend
comparison 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 |
comparison
equal
deleted
inserted
replaced
2893:7c8773723200 | 2894:c7c52c0dc13a |
---|---|
257 self._connected_d = defer.Deferred() | 257 self._connected_d = defer.Deferred() |
258 self._connected_d.addCallback(self._cleanConnection) | 258 self._connected_d.addCallback(self._cleanConnection) |
259 self._connected_d.addCallback(self._disconnectionCb) | 259 self._connected_d.addCallback(self._disconnectionCb) |
260 self._connected_d.addErrback(self._disconnectionEb) | 260 self._connected_d.addErrback(self._disconnectionEb) |
261 | 261 |
262 self.host_app.bridge.connected( | 262 # we send the signal to the clients |
263 self.profile, unicode(self.jid) | 263 self.host_app.bridge.connected(self.jid.full(), self.profile) |
264 ) # we send the signal to the clients | |
265 | |
266 | 264 |
267 self.disco = SatDiscoProtocol(self) | 265 self.disco = SatDiscoProtocol(self) |
268 self.disco.setHandlerParent(self) | 266 self.disco.setHandlerParent(self) |
269 self.discoHandler = disco.DiscoHandler() | 267 self.discoHandler = disco.DiscoHandler() |
270 self.discoHandler.setHandlerParent(self) | 268 self.discoHandler.setHandlerParent(self) |