]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add type for room shares
authorDaniel Calviño Sánchez <danxuliu@gmail.com>
Fri, 29 Jun 2018 07:56:38 +0000 (09:56 +0200)
committerDaniel Calviño Sánchez <danxuliu@gmail.com>
Wed, 8 Aug 2018 12:25:43 +0000 (14:25 +0200)
This type represents shares with a Nextcloud Talk conversation.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
core/js/share.js
lib/private/Share/Constants.php

index e4d9364b2d19805889d16c4b0f2c6682fa8e58b0..cef05eb6479f1baa185b59af94348abced0f05df 100644 (file)
@@ -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:
index 4eb79734c06167891198f4a50a5a4c34f5b9f3d2..a79bbf677f7cfffffde93625f565ac66b9a1f8f9 100644 (file)
@@ -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;