From 328d250f4c746118aa37debdc76918b504cf1870 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Sun, 16 Sep 2018 14:36:54 +0200 Subject: [PATCH] Fix evaluation for subject change --- gajim/common/caps_cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gajim/common/caps_cache.py b/gajim/common/caps_cache.py index f3f2fffc0..0e2cba222 100644 --- a/gajim/common/caps_cache.py +++ b/gajim/common/caps_cache.py @@ -485,7 +485,7 @@ class MucCapsCache: def is_subject_change_allowed(self, jid, affiliation): allowed = True - if affiliation in ('owner, admin'): + if affiliation in ('owner', 'admin'): return allowed if jid in self.cache: