diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-06-29 09:56:38 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-08-08 14:25:43 +0200 |
commit | 7292a986a0d58011c84111c1020e07a0e5543eee (patch) | |
tree | 6b4c81ade85bd291f9417e0d5467bbb2ab5dac29 | |
parent | 6b1ba9cdaf3ce5d63e6e46bcbc677cf7933f5fb3 (diff) | |
download | nextcloud-server-7292a986a0d58011c84111c1020e07a0e5543eee.tar.gz nextcloud-server-7292a986a0d58011c84111c1020e07a0e5543eee.zip |
Add type for room shares
This type represents shares with a Nextcloud Talk conversation.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
-rw-r--r-- | core/js/share.js | 1 | ||||
-rw-r--r-- | lib/private/Share/Constants.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/core/js/share.js b/core/js/share.js index e4d9364b2d1..cef05eb6479 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -12,6 +12,7 @@ OC.Share = _.extend(OC.Share || {}, { SHARE_TYPE_CIRCLE:7, SHARE_TYPE_GUEST:8, SHARE_TYPE_REMOTE_GROUP:9, + SHARE_TYPE_ROOM:10, /** * Regular expression for splitting parts of remote share owners: diff --git a/lib/private/Share/Constants.php b/lib/private/Share/Constants.php index 4eb79734c06..a79bbf677f7 100644 --- a/lib/private/Share/Constants.php +++ b/lib/private/Share/Constants.php @@ -38,6 +38,7 @@ class Constants { const SHARE_TYPE_CIRCLE = 7; const SHARE_TYPE_GUEST = 8; const SHARE_TYPE_REMOTE_GROUP = 9; + const SHARE_TYPE_ROOM = 10; const FORMAT_NONE = -1; const FORMAT_STATUSES = -2; |