Skip to content
Snippets Groups Projects
Commit 9345ddfa authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

connect to server even if it doesn't support disco

parent b3704d37
No related branches found
No related tags found
No related merge requests found
...@@ -832,6 +832,11 @@ class ConnectionDisco: ...@@ -832,6 +832,11 @@ class ConnectionDisco:
def _DiscoverInfoErrorCB(self, con, iq_obj): def _DiscoverInfoErrorCB(self, con, iq_obj):
log.debug('DiscoverInfoErrorCB') log.debug('DiscoverInfoErrorCB')
jid = helpers.get_full_jid_from_iq(iq_obj) jid = helpers.get_full_jid_from_iq(iq_obj)
id_ = iq_obj.getID()
if id_[:6] == 'Gajim_':
if not self.privacy_rules_requested:
self.privacy_rules_requested = True
self._request_privacy()
self.dispatch('AGENT_ERROR_INFO', (jid)) self.dispatch('AGENT_ERROR_INFO', (jid))
def _DiscoverInfoCB(self, con, iq_obj): def _DiscoverInfoCB(self, con, iq_obj):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment