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>2018-08-01 17:45:37 +0300
committerJoas Schilling <coding@schilljs.com>2018-08-01 17:45:37 +0300
commiteea9f4795a9b1d08294c8d6839408be3cb7a6427 (patch)
tree7fcfb9b06a1fdeb9ca466aed8f7410b40a7dc598 /lib
parent09f706385b30521645f1c4352ea9d1bdb3a93fae (diff)
Fix notifications for one2one chats
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Push.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Push.php b/lib/Push.php
index 86bef0a..11b091f 100644
--- a/lib/Push.php
+++ b/lib/Push.php
@@ -94,8 +94,7 @@ class Push {
$userKey = $this->keyManager->getKey($user);
- $isTalkNotification = \in_array($notification->getApp(), ['spreed', 'talk'], true)
- && \in_array($notification->getSubject(), ['invitation', 'call', 'mention'], true);
+ $isTalkNotification = \in_array($notification->getApp(), ['spreed', 'talk'], true);
$talkApps = array_filter($devices, function($device) {
return $device['apptype'] === 'talk';
});