mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04: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