Fix evaluation for subject change
This commit is contained in:
parent
b4ac6db9b9
commit
328d250f4c
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue