mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 22:03:49 +01:00
Don't double url-decode state event types.
This commit is contained in:
parent
15099fade5
commit
3536fd7d60
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ class RoomStateEventRestServlet(RestServlet):
|
||||||
content = _parse_json(request)
|
content = _parse_json(request)
|
||||||
|
|
||||||
event = self.event_factory.create_event(
|
event = self.event_factory.create_event(
|
||||||
etype=urllib.unquote(event_type),
|
etype=event_type, # already urldecoded
|
||||||
content=content,
|
content=content,
|
||||||
room_id=urllib.unquote(room_id),
|
room_id=urllib.unquote(room_id),
|
||||||
user_id=user.to_string(),
|
user_id=user.to_string(),
|
||||||
|
|
Loading…
Reference in a new issue