Skip to content

Commit

Permalink
Merge pull request #1068 from nextcloud/Valdnet-patch-1
Browse files Browse the repository at this point in the history
High priority for the PhoneTrack app
  • Loading branch information
nickvergessen authored Aug 26, 2021
2 parents 47ae540 + 7e7ca3f commit 0b5d0e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Push.php
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ protected function encryptAndSign(Key $userKey, array $device, int $id, INotific
if ($isTalkNotification) {
$priority = 'high';
$type = $data['type'] === 'call' ? 'voip' : 'alert';
} elseif ($data['app'] === 'twofactor_nextcloud_notification') {
} elseif ($data['app'] === 'twofactor_nextcloud_notification' || $data['app'] === 'phonetrack') {
$priority = 'high';
$type = 'alert';
} else {
Expand Down

0 comments on commit 0b5d0e8

Please sign in to comment.