Fix evaluation for subject change

This commit is contained in:
Philipp Hörist 2018-09-16 14:36:54 +02:00 committed by Philipp Hörist
parent 4c877cfb9c
commit 54776f5877
1 changed files with 1 additions and 1 deletions

View File

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