mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-06 06:08:44 +00:00
98_gcmsend: Set priority of GCM messages to high, so that messages are delivered instantly
git-svn-id: https://svn.fhem.de/fhem/trunk@12125 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
03aa7ff2a7
commit
d87c93ae88
@ -110,6 +110,7 @@ sub gcmsend_sendPayload($%) {
|
|||||||
my $data =
|
my $data =
|
||||||
"{".
|
"{".
|
||||||
"\"registration_ids\":".gcmsend_array_to_json(@registrationIds).",".
|
"\"registration_ids\":".gcmsend_array_to_json(@registrationIds).",".
|
||||||
|
"\"priority\": \"high\"" . "," .
|
||||||
"\"data\": $jsonPayload".
|
"\"data\": $jsonPayload".
|
||||||
"}";
|
"}";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user