From d8de63cc5fba2aefbef93adeda29f3cedb5572e7 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 28 Nov 2018 19:30:26 +0100 Subject: [PATCH] Don't send call notifications for file-rooms Signed-off-by: Joas Schilling --- lib/Notification/Hooks.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Notification/Hooks.php b/lib/Notification/Hooks.php index 8db2a4455..ebf2d1db5 100644 --- a/lib/Notification/Hooks.php +++ b/lib/Notification/Hooks.php @@ -99,6 +99,10 @@ class Hooks { return; } + if ($room->getObjectType() === 'file') { + return; + } + $actor = $this->userSession->getUser(); $actorId = $actor instanceof IUser ? $actor->getUID() :'';