This commit is contained in:
Matthew Hodgson 2016-04-28 15:09:11 +01:00
parent 1c188cf73c
commit aebd0c9717

View file

@ -232,7 +232,7 @@ class RoomMemberHandler(BaseHandler):
if old_membership == "ban" and action != "unban":
raise SynapseError(
403,
"Cannot %s user who was is banned" % (action,),
"Cannot %s user who was banned" % (action,),
errcode=Codes.BAD_STATE
)