Skip to content
Snippets Groups Projects
Commit 54776f58 authored by Philipp Hörist's avatar Philipp Hörist Committed by Philipp Hörist
Browse files

Fix evaluation for subject change

parent 4c877cfb
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment