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

Remember to URL decode the room_id in room initialSync

This commit is contained in:
Paul "LeoNerd" Evans 2014-11-18 17:44:46 +00:00
parent db7e8b5619
commit 3bfc3dd45b

View file

@ -364,7 +364,7 @@ class RoomInitialSyncRestServlet(RestServlet):
user = yield self.auth.get_user_by_req(request)
pagination_config = PaginationConfig.from_request(request)
content = yield self.handlers.message_handler.room_initial_sync(
room_id=room_id,
room_id=urllib.unquote(room_id),
user_id=user.to_string(),
pagin_config=pagination_config,
)