From 84ba852a972ba647a216840f7fbf54d285add744 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Fri, 5 Oct 2018 15:05:06 +0200 Subject: [PATCH] Dont return None on has_mam() Fixes #9368 --- gajim/common/caps_cache.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gajim/common/caps_cache.py b/gajim/common/caps_cache.py index 16ad4ea9f..6a6ea9a07 100644 --- a/gajim/common/caps_cache.py +++ b/gajim/common/caps_cache.py @@ -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