From 3bfc3dd45b7a90687d7459d151d48b2a6c94ecd6 Mon Sep 17 00:00:00 2001 From: "Paul \"LeoNerd\" Evans" Date: Tue, 18 Nov 2014 17:44:46 +0000 Subject: [PATCH] Remember to URL decode the room_id in room initialSync --- synapse/rest/room.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/rest/room.py b/synapse/rest/room.py index 17322ee9bb..4f6d039b61 100644 --- a/synapse/rest/room.py +++ b/synapse/rest/room.py @@ -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, )