Skip to content
Snippets Groups Projects
Commit 51ef7256 authored by Mark Haines's avatar Mark Haines
Browse files

Use 'true' rather than '1' for archived flag

parent dc720217
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,7 @@ class InitialSyncRestServlet(ClientV1RestServlet): ...@@ -29,7 +29,7 @@ class InitialSyncRestServlet(ClientV1RestServlet):
as_client_event = "raw" not in request.args as_client_event = "raw" not in request.args
pagination_config = PaginationConfig.from_request(request) pagination_config = PaginationConfig.from_request(request)
handler = self.handlers.message_handler handler = self.handlers.message_handler
include_archived = request.args.get("archived", None) == "1" include_archived = request.args.get("archived", None) == ["true"]
content = yield handler.snapshot_all_rooms( content = yield handler.snapshot_all_rooms(
user_id=user.to_string(), user_id=user.to_string(),
pagin_config=pagination_config, pagin_config=pagination_config,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment