diff options
author | Vincent Petry <vincent@nextcloud.com> | 2020-12-01 13:56:54 +0300 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2020-12-11 20:15:47 +0300 |
commit | 17971cd34a6ecb0cdf4e926e41414f13a2bd4c41 (patch) | |
tree | abb522f422fd26ff1654eabdaacfe54ed5d09a94 /src/constants.js | |
parent | be0ed4a7f5f3b7eaa8acef96258862929dfd729f (diff) |
Add listable flags attribute for conversations
Added ability to set a conversation as listable for regular users and/or
guest users from the guest app.
This only implements the flag, endpoint and UI to manage it but not yet
making it appear in search results.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'src/constants.js')
-rw-r--r-- | src/constants.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/constants.js b/src/constants.js index 121eafb3d..6c9b9be69 100644 --- a/src/constants.js +++ b/src/constants.js @@ -34,6 +34,11 @@ export const CONVERSATION = { READ_WRITE: 0, READ_ONLY: 1, }, + LISTABLE: { + PARTICIPANTS: 0, + USERS: 1, + ALL: 2, + }, TYPE: { ONE_TO_ONE: 1, GROUP: 2, |