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:
authorVitor Mattos <vitor@php.rio>2022-05-06 03:58:15 +0300
committerVitor Mattos <vitor@php.rio>2022-06-30 21:01:23 +0300
commit465bbf0cc873e99ec3253462fde94bc6a9627e22 (patch)
tree783dc0ff30f42b17461be2e8676636737011b381 /lib/Room.php
parent1df40aec0b3db418d3f1d646e699e661e7b86bb9 (diff)
Add field to room table
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'lib/Room.php')
-rw-r--r--lib/Room.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Room.php b/lib/Room.php
index e022c938f..54e2afcbd 100644
--- a/lib/Room.php
+++ b/lib/Room.php
@@ -160,6 +160,7 @@ class Room {
private int $type;
private int $readOnly;
private int $listable;
+ private int $timeToLive;
private int $lobbyState;
private int $sipEnabled;
private ?int $assignedSignalingServer;
@@ -283,6 +284,10 @@ class Room {
$this->listable = $newState;
}
+ public function getTimeToLive(): int {
+ return $this->timeToLive;
+ }
+
public function getLobbyState(): int {
$this->validateTimer();
return $this->lobbyState;