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-02-13 19:13:46 +0300
committerJoas Schilling <coding@schilljs.com>2020-02-13 19:13:46 +0300
commit1865ede4c3712fd22ac78a69409b69a38ab1eeaf (patch)
tree458ab1ba82078eaf031c314523ae4c091fd0e728 /lib/Activity
parent49d650c2e654554049766fd626fbd0474e3b9405 (diff)
Also end teh call state when a user leaves
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Activity')
-rw-r--r--lib/Activity/Listener.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Activity/Listener.php b/lib/Activity/Listener.php
index d7db36a98..53c4c13c9 100644
--- a/lib/Activity/Listener.php
+++ b/lib/Activity/Listener.php
@@ -79,6 +79,7 @@ class Listener {
$dispatcher->addListener(Room::EVENT_AFTER_PARTICIPANT_REMOVE, $listener);
$dispatcher->addListener(Room::EVENT_AFTER_USER_REMOVE, $listener);
$dispatcher->addListener(Room::EVENT_AFTER_SESSION_LEAVE_CALL, $listener, -100);
+ $dispatcher->addListener(Room::EVENT_AFTER_ROOM_DISCONNECT, $listener, -100);
$listener = static function(AddParticipantsEvent $event) {
/** @var self $listener */