summaryrefslogtreecommitdiffstats
path: root/lib/Notification/Listener.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-10-08 08:56:31 +0200
committerJoas Schilling <coding@schilljs.com>2021-10-11 16:26:08 +0200
commit879a2b7d6924e5c603f83109162e8874aa929647 (patch)
tree6fb3900ff2d97b5932273128ca7095dadf232baf /lib/Notification/Listener.php
parent0c379ce84611f6a1c464c8d44ee96dd476621fcc (diff)
Only get users that want the call notifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Notification/Listener.php')
-rw-r--r--lib/Notification/Listener.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Notification/Listener.php b/lib/Notification/Listener.php
index 9c65e7549..2919329e6 100644
--- a/lib/Notification/Listener.php
+++ b/lib/Notification/Listener.php
@@ -247,7 +247,7 @@ class Listener {
return;
}
- $userIds = $this->participantsService->getParticipantUserIdsNotInCall($room);
+ $userIds = $this->participantsService->getParticipantUserIdsForCallNotifications($room);
foreach ($userIds as $userId) {
if ($actorId === $userId) {
continue;