From 241096dc811cbbaa544d4a4aac73acdeb548aca4 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Thu, 8 Oct 2015 17:25:38 +0100 Subject: [PATCH] Add a flag to initial sync to indicate we want rooms that the user has left --- api/client-server/v1/sync.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/api/client-server/v1/sync.yaml b/api/client-server/v1/sync.yaml index 8fe30056..de8dfec9 100644 --- a/api/client-server/v1/sync.yaml +++ b/api/client-server/v1/sync.yaml @@ -39,6 +39,16 @@ paths: description: The maximum time in milliseconds to wait for an event. required: false x-example: "35000" + - in: query + type: string + name: archived + description: |- + Whether to include rooms that the user has left. If absent then + only rooms that the user has been invited to or has joined are + included. If set to "1" then rooms that the user has left are + included as well. + required: false + x-example: "1" responses: 200: description: "The events received, which may be none."