diff options
-rw-r--r-- | .github/workflows/integration.yml | 2 | ||||
-rw-r--r-- | .github/workflows/phpunit.yml | 2 | ||||
-rw-r--r-- | lib/Push.php | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 5ed9daa..fb67e35 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -83,7 +83,7 @@ jobs: services: mysql: - image: mariadb + image: mariadb:10.5 ports: - 4444:3306/tcp env: diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 88e8b30..31c34d7 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -82,7 +82,7 @@ jobs: services: mysql: - image: mariadb + image: mariadb:10.5 ports: - 4444:3306/tcp env: diff --git a/lib/Push.php b/lib/Push.php index f627f43..4bb6f66 100644 --- a/lib/Push.php +++ b/lib/Push.php @@ -419,6 +419,9 @@ class Push { if ($isTalkNotification) { $priority = 'high'; $type = $data['type'] === 'call' ? 'voip' : 'alert'; + } elseif ($data['app'] === 'twofactor_nextcloud_notification') { + $priority = 'high'; + $type = 'alert'; } else { $priority = 'normal'; $type = 'alert'; |