diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-11-25 11:02:19 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-11-25 11:02:19 +0000 |
commit | 3536fd7d60c626a20123105357c6b131b9ceb26f (patch) | |
tree | 256e25c7a32fbea145185188e8e714a55f1e7299 | |
parent | Drop log level for incorrect logging contexts to WARN if the context is wrong... (diff) | |
download | synapse-3536fd7d60c626a20123105357c6b131b9ceb26f.tar.xz |
Don't double url-decode state event types.
-rw-r--r-- | synapse/rest/room.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/room.py b/synapse/rest/room.py index 4f6d039b61..cc6ffb9aff 100644 --- a/synapse/rest/room.py +++ b/synapse/rest/room.py @@ -148,7 +148,7 @@ class RoomStateEventRestServlet(RestServlet): content = _parse_json(request) event = self.event_factory.create_event( - etype=urllib.unquote(event_type), + etype=event_type, # already urldecoded content=content, room_id=urllib.unquote(room_id), user_id=user.to_string(), |