Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Use 'true' rather than '1' for archived flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Haines committed Oct 8, 2015
1 parent dc72021 commit 51ef725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/rest/client/v1/initial_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def on_GET(self, request):
as_client_event = "raw" not in request.args
pagination_config = PaginationConfig.from_request(request)
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(
user_id=user.to_string(),
pagin_config=pagination_config,
Expand Down

0 comments on commit 51ef725

Please sign in to comment.