Remember to URL decode the room_id in room initialSync

pull/19/head
Paul "LeoNerd" Evans 2014-11-18 17:44:46 +00:00
parent db7e8b5619
commit 3bfc3dd45b
1 changed files with 1 additions and 1 deletions

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