diff --git a/README.md b/README.md index f46eaae..4df385a 100755 --- a/README.md +++ b/README.md @@ -273,7 +273,7 @@ to something similar to "http://domain/#channel/2011-03-09 14:25:09", or * `message_priority = ""` Priority level that will be used for the push notification. - Currently supported only by Pushover.net. + Currently supported only by Pushover.net and Notify My Android. * `message_sound = ""` diff --git a/push.cpp b/push.cpp index 5345ba1..71fc20b 100755 --- a/push.cpp +++ b/push.cpp @@ -317,6 +317,10 @@ class CPushMod : public CModule PutModule("Error: secret not set"); return; } + if (options["message_priority"] != "") + { + params["priority"] = options["message_priority"]; + } service_host = "www.notifymyandroid.com"; service_url = "/publicapi/notify";