diff options
author | Joas Schilling <coding@schilljs.com> | 2017-11-21 19:21:09 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-11-21 19:21:09 +0300 |
commit | deba129d29d636da36ad204d3324cf33b44bb38d (patch) | |
tree | a1e0d3b67731b37b652291affcfa20c22a3d9109 /lib | |
parent | dd713b0f81553b31b8124c78fc4b30d967257150 (diff) |
Also do it for mentions
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Push.php | 2 |
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'; }); |