Commit 84ba852a authored by Philipp Hörist's avatar Philipp Hörist

Dont return None on has_mam()

Fixes #9368
parent 34553b6c
......@@ -470,6 +470,7 @@ class MucCapsCache:
return True
if nbxmpp.NS_MAM_1 in self.cache[jid].features:
return True
return False
except (KeyError, AttributeError):
return False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment