Don't double url-decode state event types.

pull/21/head
Kegan Dougal 2014-11-25 11:02:19 +00:00
parent 15099fade5
commit 3536fd7d60
1 changed files with 1 additions and 1 deletions

View File

@ -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(),