0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 23:23:50 +01:00

Remove semicolon.

This commit is contained in:
Kegan Dougal 2015-07-20 14:02:36 +01:00
parent b6ee0585bd
commit ddef5ea126

View file

@ -413,7 +413,7 @@ class RoomMembershipRestServlet(ClientV1RestServlet):
raise SynapseError(400, "Missing user_id key.") raise SynapseError(400, "Missing user_id key.")
state_key = content["user_id"] state_key = content["user_id"]
# make sure it looks like a user ID; it'll throw if it's invalid. # make sure it looks like a user ID; it'll throw if it's invalid.
UserID.from_string(state_key); UserID.from_string(state_key)
if membership_action == "kick": if membership_action == "kick":
membership_action = "leave" membership_action = "leave"