diff --git a/src/core/xmpp.py b/src/core/xmpp.py index 9ee9de5f..1f109b37 100644 --- a/src/core/xmpp.py +++ b/src/core/xmpp.py @@ -39,6 +39,7 @@ class SatXMPPClient(client.XMPPClient): # If no SRV record is found, the host is directly extracted from the JID. client.XMPPClient.__init__(self, user_jid, password, host or None, port or C.XMPP_C2S_PORT) self.factory.clientConnectionLost = self.connectionLost + self.factory.maxRetries = 2 self.__connected = False self.profile = profile self.host_app = host_app