mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-26 19:47:05 +03:00
Use 'true' rather than '1' for archived flag
This commit is contained in:
parent
dc72021748
commit
51ef725647
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ class InitialSyncRestServlet(ClientV1RestServlet):
|
|||
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,
|
||||
|
|
Loading…
Reference in a new issue