Dont return None on has_mam()

Fixes #9368
This commit is contained in:
Philipp Hörist 2018-10-05 15:05:06 +02:00
parent 34553b6ca7
commit 84ba852a97
1 changed files with 1 additions and 0 deletions

View File

@ -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