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):
|
def is_subject_change_allowed(self, jid, affiliation):
|
||||||
allowed = True
|
allowed = True
|
||||||
if affiliation in ('owner, admin'):
|
if affiliation in ('owner', 'admin'):
|
||||||
return allowed
|
return allowed
|
||||||
|
|
||||||
if jid in self.cache:
|
if jid in self.cache:
|
||||||
|
|
Loading…
Reference in New Issue