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-14 17:17:53 +0300
committerJoas Schilling <coding@schilljs.com>2020-10-30 12:38:07 +0300
commit2ae99269f491c92a638e7bbad592d1913c1227ef (patch)
treefdf5c296f0d671ed28a7252a2a700c71b97b1853 /lib/Room.php
parent89bdbe0c51a509891a70c4a84b0c92d0c6825319 (diff)
Check if the SIP is configured
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Room.php')
-rw-r--r--lib/Room.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Room.php b/lib/Room.php
index fa8102b7e..76edef8fb 100644
--- a/lib/Room.php
+++ b/lib/Room.php
@@ -701,7 +701,9 @@ class Room {
return false;
}
- $event = new ModifyRoomEvent($this, 'sipStatus', $newSipEnabled, $oldSipEnabled);
+ // FIXME check if SIP is enabled/configured
+
+ $event = new ModifyRoomEvent($this, 'sipEnabled', $newSipEnabled, $oldSipEnabled);
$this->dispatcher->dispatch(self::EVENT_BEFORE_SIP_ENABLED_SET, $event);
$query = $this->db->getQueryBuilder();