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
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-10-12 17:51:04 +0300
committerJoas Schilling <coding@schilljs.com>2020-10-30 12:38:07 +0300
commit6ad483c0e5e02298a14a1567afaffc74f6dfa2fb (patch)
tree6994ce5d1f4f2322aac10142cbaf0b41c792cd41 /lib/Room.php
parentd955555b70b63581dbf946b5d1a973511c80842c (diff)
Add SIP status column to rooms table
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Room.php')
-rw-r--r--lib/Room.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Room.php b/lib/Room.php
index 09d52f69b..8582b19e8 100644
--- a/lib/Room.php
+++ b/lib/Room.php
@@ -125,6 +125,8 @@ class Room {
private $readOnly;
/** @var int */
private $lobbyState;
+ /** @var int */
+ private $sipStatus;
/** @var int|null */
private $assignedSignalingServer;
/** @var \DateTime|null */
@@ -165,6 +167,7 @@ class Room {
int $type,
int $readOnly,
int $lobbyState,
+ int $sipStatus,
?int $assignedSignalingServer,
string $token,
string $name,
@@ -187,6 +190,7 @@ class Room {
$this->type = $type;
$this->readOnly = $readOnly;
$this->lobbyState = $lobbyState;
+ $this->sipStatus = $sipStatus;
$this->assignedSignalingServer = $assignedSignalingServer;
$this->token = $token;
$this->name = $name;
@@ -218,6 +222,10 @@ class Room {
return $this->lobbyState;
}
+ public function getSIPStatus(): int {
+ return $this->sipStatus;
+ }
+
public function getLobbyTimer(): ?\DateTime {
$this->validateTimer();
return $this->lobbyTimer;