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
diff options
context:
space:
mode:
authorValdnet <47037905+Valdnet@users.noreply.github.com>2021-08-26 12:47:44 +0300
committerGitHub <noreply@github.com>2021-08-26 12:47:44 +0300
commit719a29fbd4eefa6b2068d55f29019f3d7c5f17c1 (patch)
tree87a9ac47583d70e05cca31b2b9e403bac1f1ab91
parent36b1ec7377ea7723068ac1315be56bd1bfd478c7 (diff)
parent683752bd5a29b330684be44fd55a626a34d47d26 (diff)
Merge pull request #1070 from nextcloud/backport/1068/stable22v22.1.1
[stable22] High priority for the PhoneTrack app
-rw-r--r--lib/Push.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Push.php b/lib/Push.php
index 4bb6f66..af3d0a2 100644
--- a/lib/Push.php
+++ b/lib/Push.php
@@ -419,7 +419,7 @@ class Push {
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 {