From fa4d2306dd2b9d7d7b596b4b572bd9e1c0c5279e Mon Sep 17 00:00:00 2001 From: Jonathan Herlin Date: Sat, 23 Mar 2019 12:18:49 +0100 Subject: [PATCH 1/3] NMA is no longed operational NMA is no longer operational [link](https://www.reddit.com/r/Android/comments/8l0cim/notify_my_android_is_dead/) --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 20c139b..a75626e 100755 --- a/README.md +++ b/README.md @@ -13,7 +13,6 @@ conditions. ZNC Push current supports the following services: * [Boxcar][] * [Boxcar 2][] -* [Notify My Android][] (NMA) * [Pushover][] * [Pushsafer][] * [Prowl][] From 321a166dca5ae0ad1d46160427fde18a08dd252a Mon Sep 17 00:00:00 2001 From: Jonathan Herlin Date: Sat, 23 Mar 2019 13:11:01 +0100 Subject: [PATCH 2/3] Remove code for NMA --- push.cpp | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/push.cpp b/push.cpp index fd20639..3fddd05 100755 --- a/push.cpp +++ b/push.cpp @@ -359,27 +359,6 @@ class CPushMod : public CModule params["notification[sound]"] = options["message_sound"]; } } - else if (service == "nma") - { - if (options["secret"] == "") - { - PutModule("Error: secret not set"); - return; - } - if (options["message_priority"] != "") - { - params["priority"] = options["message_priority"]; - } - - service_host = "www.notifymyandroid.com"; - service_url = "/publicapi/notify"; - - params["apikey"] = options["secret"]; - params["application"] = app; - params["event"] = message_title; - params["description"] = message_content; - params["url"] = message_uri; - } else if (service == "pushover") { if (options["username"] == "") @@ -1488,10 +1467,6 @@ class CPushMod : public CModule { PutModule("Note: Boxcar 2 requires setting the 'secret' option"); } - else if (value == "nma") - { - PutModule("Note: NMA requires setting the 'secret' option"); - } else if (value == "pushover") { PutModule("Note: Pushover requires setting both the 'username' (to user key) and the 'secret' (to application api key) option"); From a667a90c0f6eb253f2304b3b8222fd958e7a2daf Mon Sep 17 00:00:00 2001 From: Jonathan Herlin Date: Sat, 23 Mar 2019 13:12:00 +0100 Subject: [PATCH 3/3] References in readme --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index a75626e..f2905e1 100755 --- a/README.md +++ b/README.md @@ -242,7 +242,6 @@ to something similar to "http://domain/#channel/2011-03-09 14:25:09", or Possible values include: * `boxcar` - * `nma` * `pushover` * `pushsafer` * `prowl` @@ -538,7 +537,6 @@ from me and not from my employer. See the `LICENSE` file for details. [Boxcar]: http://boxcar.io [Boxcar 2]: http://boxcar.io -[Notify My Android]: http://www.notifymyandroid.com [Pushover]: http://pushover.net [Pushsafer]: http://www.pushsafer.com [Prowl]: http://www.prowlapp.com