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
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-11-19 12:35:46 +0300
committerJoas Schilling <coding@schilljs.com>2021-11-19 12:36:17 +0300
commit7647eae7e765f93fb0659aefd62cd6d35854d0db (patch)
tree5b5b6ac8a75896932a50b318e80786e7aea94418 /lib
parentbab0320ec9a2c35ac7d4d5bda69be0f13877183f (diff)
A missed call is only when there was only 1 user
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Activity/Listener.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Activity/Listener.php b/lib/Activity/Listener.php
index 5228befde..b4166c4b3 100644
--- a/lib/Activity/Listener.php
+++ b/lib/Activity/Listener.php
@@ -135,7 +135,7 @@ class Listener {
$message = 'call_ended';
if ($endForEveryone) {
$message = 'call_ended_everyone';
- } elseif ($room->getType() === Room::TYPE_ONE_TO_ONE) {
+ } elseif ($room->getType() === Room::TYPE_ONE_TO_ONE && \count($userIds) === 1) {
$message = 'call_missed';
}