Pass message_priority to NMA since it is supported

This allows for message priority to be supported in NMA.
This commit is contained in:
Erik Johnson 2014-02-17 12:38:01 -06:00
parent a16370fb63
commit 50fc3481c6
1 changed files with 4 additions and 0 deletions

View File

@ -317,6 +317,10 @@ class CPushMod : public CModule
PutModule("Error: secret not set"); PutModule("Error: secret not set");
return; return;
} }
if (options["message_priority"] != "")
{
params["priority"] = options["message_priority"];
}
service_host = "www.notifymyandroid.com"; service_host = "www.notifymyandroid.com";
service_url = "/publicapi/notify"; service_url = "/publicapi/notify";