diff --git a/sat/core/xmpp.py b/sat/core/xmpp.py index 9a143b34..41ba5bf6 100644 --- a/sat/core/xmpp.py +++ b/sat/core/xmpp.py @@ -196,6 +196,9 @@ class SatXMPPEntity(object): ) # FIXME: we should have a timeout here, and a way to know if a plugin freeze # TODO: mesure launch time of each plugin + # we finally send our presence + entity.presence.available() + def getConnectionDeferred(self): """Return a deferred which fire when the client is connected""" return self.conn_deferred @@ -678,7 +681,6 @@ class SatXMPPClient(SatXMPPEntity, wokkel_client.XMPPClient): def _finish_connection(self, __): self.roster.requestRoster() - self.presence.available() super(SatXMPPClient, self)._finish_connection(__)