From 3a5cbd14c3ec4e27e9de4e616ef61b0ef89c2273 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Thu, 29 Sep 2016 11:25:12 +0100 Subject: [PATCH] Add /createRoom is_direct flag --- api/client-server/create_room.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/api/client-server/create_room.yaml b/api/client-server/create_room.yaml index 9107e185..2e7cc0ad 100644 --- a/api/client-server/create_room.yaml +++ b/api/client-server/create_room.yaml @@ -170,7 +170,15 @@ paths: ``public_chat``: => ``join_rules`` is set to ``public``. ``history_visibility`` is set to ``shared``. - + is_direct: + type: boolean + description: |- + This flag shows that the intent for this room is to be a + one-to-one 'direct' conversation with the invitee. The + invitee's client should indicate this in the UI to the user, + as should the inviter. This is to keep the intent for new rooms + synchronised at first. Both users may subsequently choose to + tag the room differently. responses: 200: description: Information about the newly created room.