From 50fc3481c6e0af4f1b117c34053d41cdc0748c0e Mon Sep 17 00:00:00 2001 From: Erik Johnson Date: Mon, 17 Feb 2014 12:38:01 -0600 Subject: [PATCH] Pass message_priority to NMA since it is supported This allows for message priority to be supported in NMA. --- push.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/push.cpp b/push.cpp index 8bc65bb..e17fc7b 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";