Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-07-09 12:14:30 +0300
committerJoas Schilling <coding@schilljs.com>2021-07-09 12:14:30 +0300
commitd66923c6cd3129d9f70a4a4dde6e17147c04f5bd (patch)
treede228e33302c522d5fa13c41bfcfca267cc19009 /lib
parent5df729fe472a6dd676f6d4cae7c9cc67fb400e5c (diff)
Fix constant names
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Room.php21
1 files changed, 16 insertions, 5 deletions
diff --git a/lib/Room.php b/lib/Room.php
index 42d99fd1d..d52fd2200 100644
--- a/lib/Room.php
+++ b/lib/Room.php
@@ -55,11 +55,22 @@ class Room {
*/
public const SIP_INCOMPATIBLE_REGEX = '/((\d)(?=\2+)|^0|\D)/';
- public const UNKNOWN_CALL = -1;
- public const ONE_TO_ONE_CALL = 1;
- public const GROUP_CALL = 2;
- public const PUBLIC_CALL = 3;
- public const CHANGELOG_CONVERSATION = 4;
+ public const TYPE_UNKNOWN = -1;
+ public const TYPE_ONE_TO_ONE = 1;
+ public const TYPE_GROUP = 2;
+ public const TYPE_PUBLIC = 3;
+ public const TYPE_CHANGELOG = 4;
+
+ /** @deprecated Use self::TYPE_UNKNOWN */
+ public const UNKNOWN_CALL = self::TYPE_UNKNOWN;
+ /** @deprecated Use self::TYPE_ONE_TO_ONE */
+ public const ONE_TO_ONE_CALL = self::TYPE_ONE_TO_ONE;
+ /** @deprecated Use self::TYPE_GROUP */
+ public const GROUP_CALL = self::TYPE_GROUP;
+ /** @deprecated Use self::TYPE_PUBLIC */
+ public const PUBLIC_CALL = self::TYPE_PUBLIC;
+ /** @deprecated Use self::TYPE_CHANGELOG */
+ public const CHANGELOG_CONVERSATION = self::TYPE_CHANGELOG;
public const READ_WRITE = 0;
public const READ_ONLY = 1;