diff options
author | Joas Schilling <coding@schilljs.com> | 2018-08-01 17:45:37 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-08-01 17:45:37 +0300 |
commit | eea9f4795a9b1d08294c8d6839408be3cb7a6427 (patch) | |
tree | 7fcfb9b06a1fdeb9ca466aed8f7410b40a7dc598 | |
parent | 09f706385b30521645f1c4352ea9d1bdb3a93fae (diff) |
Fix notifications for one2one chats
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | lib/Push.php | 3 |
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'; }); |