Fix evaluation for subject change
This commit is contained in:
parent
4c877cfb9c
commit
54776f5877
|
@ -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