Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions lib/Push.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@ public function pushToDevice(INotification $notification) {

$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';
});
Expand Down