Skip to content
Snippets Groups Projects
Commit 976175e0 authored by steve-e's avatar steve-e
Browse files

Work around potential NoneType in obscure function _is_buggy_gajim()'

parent 5894ce53
No related branches found
No related tags found
No related merge requests found
......@@ -223,7 +223,7 @@ class EncryptedStanzaSession(StanzaSession):
def _is_buggy_gajim(self):
c = self._get_contact()
if c.supports(xmpp.NS_ROSTERX):
if c and c.supports(xmpp.NS_ROSTERX):
return False
return True
......
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