diff options
author | Valdnet <47037905+Valdnet@users.noreply.github.com> | 2021-08-24 17:34:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-24 17:34:56 +0300 |
commit | 7e7ca3f4d70eec0f4b4df6e9ee56f2faec15d4c8 (patch) | |
tree | f3c2f8941cac576f8b4b345902d7a5cfbb4ab9bf /lib | |
parent | 61a8f026e929155258478a4840257ceca41bf60e (diff) |
Change elseif to or
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Push.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Push.php b/lib/Push.php index 89a345c..af3d0a2 100644 --- a/lib/Push.php +++ b/lib/Push.php @@ -419,10 +419,7 @@ class Push { if ($isTalkNotification) { $priority = 'high'; $type = $data['type'] === 'call' ? 'voip' : 'alert'; - } elseif ($data['app'] === 'twofactor_nextcloud_notification') { - $priority = 'high'; - $type = 'alert'; - } elseif ($data['app'] === 'phonetrack') { + } elseif ($data['app'] === 'twofactor_nextcloud_notification' || $data['app'] === 'phonetrack') { $priority = 'high'; $type = 'alert'; } else { |