summaryrefslogtreecommitdiffstats
path: root/lib/Room.php
diff options
context:
space:
mode:
authorVitor Mattos <vitor@php.rio>2022-06-02 08:58:32 -0300
committerVitor Mattos <vitor@php.rio>2022-06-30 15:01:28 -0300
commit3145bac34343c818989348ea60cd1809b49b77fc (patch)
tree7c3f4f5b89a859e026b39527d82db4eb3b1b54da /lib/Room.php
parent7a31b9daaa2e59d57b74474a940e6b1a2083f559 (diff)
Rename time to live to message expire
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'lib/Room.php')
-rw-r--r--lib/Room.php10
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/Room.php b/lib/Room.php
index 3d669a9b1..ec68b7ad1 100644
--- a/lib/Room.php
+++ b/lib/Room.php
@@ -162,7 +162,7 @@ class Room {
private int $type;
private int $readOnly;
private int $listable;
- private int $timeToLive;
+ private int $messageExpire;
private int $lobbyState;
private int $sipEnabled;
private ?int $assignedSignalingServer;
@@ -196,7 +196,7 @@ class Room {
int $type,
int $readOnly,
int $listable,
- int $timeToLive,
+ int $messageExpire,
int $lobbyState,
int $sipEnabled,
?int $assignedSignalingServer,
@@ -226,7 +226,7 @@ class Room {
$this->type = $type;
$this->readOnly = $readOnly;
$this->listable = $listable;
- $this->timeToLive = $timeToLive;
+ $this->messageExpire = $messageExpire;
$this->lobbyState = $lobbyState;
$this->sipEnabled = $sipEnabled;
$this->assignedSignalingServer = $assignedSignalingServer;
@@ -288,10 +288,6 @@ class Room {
$this->listable = $newState;
}
- public function getTimeToLive(): int {
- return $this->timeToLive;
- }
-
public function getLobbyState(): int {
$this->validateTimer();
return $this->lobbyState;