mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-01-02 17:50:49 -05:00
fix typo
This commit is contained in:
parent
1c188cf73c
commit
aebd0c9717
@ -232,7 +232,7 @@ class RoomMemberHandler(BaseHandler):
|
|||||||
if old_membership == "ban" and action != "unban":
|
if old_membership == "ban" and action != "unban":
|
||||||
raise SynapseError(
|
raise SynapseError(
|
||||||
403,
|
403,
|
||||||
"Cannot %s user who was is banned" % (action,),
|
"Cannot %s user who was banned" % (action,),
|
||||||
errcode=Codes.BAD_STATE
|
errcode=Codes.BAD_STATE
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user