Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notifications.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>2017-11-21 19:21:09 +0300
committerJoas Schilling <coding@schilljs.com>2017-11-21 19:21:09 +0300
commitdeba129d29d636da36ad204d3324cf33b44bb38d (patch)
treea1e0d3b67731b37b652291affcfa20c22a3d9109 /lib
parentdd713b0f81553b31b8124c78fc4b30d967257150 (diff)
Also do it for mentions
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Push.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Push.php b/lib/Push.php
index f8d0370..f9e1b2b 100644
--- a/lib/Push.php
+++ b/lib/Push.php
@@ -90,7 +90,7 @@ class Push {
$userKey = $this->keyManager->getKey($user);
$isTalkNotification = in_array($notification->getApp(), ['spreed', 'talk'], true)
- && in_array($notification->getSubject(), ['invitation', 'call'], true);
+ && in_array($notification->getSubject(), ['invitation', 'call', 'mention'], true);
$talkApps = array_filter($devices, function($device) {
return $device['apptype'] === 'talk';
});