diff options
author | Kegan Dougal <kegan@matrix.org> | 2015-07-20 14:02:36 +0100 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2015-07-20 14:02:36 +0100 |
commit | ddef5ea1267e3ec2df95b4811f1f59755a35639f (patch) | |
tree | ebd8c11f3e4f7b1590e03d3357a50aa4839be99a /synapse/rest/client | |
parent | Parse the ID given to /invite|ban|kick to make sure it looks like a user ID. (diff) | |
download | synapse-ddef5ea1267e3ec2df95b4811f1f59755a35639f.tar.xz |
Remove semicolon.
Diffstat (limited to 'synapse/rest/client')
-rw-r--r-- | synapse/rest/client/v1/room.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/room.py b/synapse/rest/client/v1/room.py index 639795df28..b4a70cba99 100644 --- a/synapse/rest/client/v1/room.py +++ b/synapse/rest/client/v1/room.py @@ -413,7 +413,7 @@ class RoomMembershipRestServlet(ClientV1RestServlet): raise SynapseError(400, "Missing user_id key.") state_key = content["user_id"] # 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": membership_action = "leave" |