diff options
author | Erik Johnston <erikj@jki.re> | 2018-01-08 10:10:49 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-08 10:10:49 +0000 |
commit | e9f76771700654e223df6056278db071430d49ee (patch) | |
tree | ff751a17856724ff84f9de088a98ac0662eb670a | |
parent | Merge pull request #2755 from matrix-org/richvdh-patch-1 (diff) | |
parent | Fix templating error with unban permission message (diff) | |
download | synapse-e9f76771700654e223df6056278db071430d49ee.tar.xz |
Merge pull request #2761 from turt2live/patch-1
Fix templating error with unban permission message
Diffstat (limited to '')
-rw-r--r-- | synapse/event_auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/event_auth.py b/synapse/event_auth.py index 061ee86b16..cd5627e36a 100644 --- a/synapse/event_auth.py +++ b/synapse/event_auth.py @@ -319,7 +319,7 @@ def _is_membership_change_allowed(event, auth_events): # TODO (erikj): Implement kicks. if target_banned and user_level < ban_level: raise AuthError( - 403, "You cannot unban user &s." % (target_user_id,) + 403, "You cannot unban user %s." % (target_user_id,) ) elif target_user_id != event.user_id: kick_level = _get_named_level(auth_events, "kick", 50) |