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>
This commit is contained in:
Daniel Calviño Sánchez 2018-06-29 09:56:38 +02:00
parent 6b1ba9cdaf
commit 7292a986a0
2 changed files with 2 additions and 0 deletions

View 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:

View 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;