mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Update src/Appwrite/Platform/Workers/Messaging.php
Co-authored-by: Damodar Lohani <lohanidamodar@users.noreply.github.com>
This commit is contained in:
co-authored by
Damodar Lohani
parent
98149f56b5
commit
526f54cf06
@@ -689,9 +689,9 @@ class Messaging extends Action
|
||||
$contentAvailable = $message['data']['contentAvailable'] ?? false;
|
||||
$critical = $message['data']['critical'] ?? false;
|
||||
|
||||
$priority = $message['data']['priority'] === 'normal'
|
||||
? Priority::NORMAL
|
||||
: Priority::HIGH;
|
||||
$priority = $message['data']['priority'] === 'high'
|
||||
? Priority::HIGH
|
||||
: Priority::NORMAL;
|
||||
|
||||
return new Push(
|
||||
$to,
|
||||
|
||||
Reference in New Issue
Block a user