Commit 328d250f authored by Philipp Hörist's avatar Philipp Hörist

Fix evaluation for subject change

parent b4ac6db9
......@@ -485,7 +485,7 @@ def get_mam_namespace(self, jid):
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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment