mirror of https://github.com/SeanOMik/znc-push.git
Pass message_priority to NMA since it is supported
This allows for message priority to be supported in NMA.
This commit is contained in:
parent
a16370fb63
commit
50fc3481c6
4
push.cpp
4
push.cpp
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue