From 79774d694b7f9a7d5f844a063e67f4ae07227c5f Mon Sep 17 00:00:00 2001 From: Ming Tang Date: Fri, 1 Mar 2013 10:47:32 -0800 Subject: [PATCH] added support for notification sounds with Pushover API --- push.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/push.cpp b/push.cpp index 64015c0..77fc0db 100644 --- a/push.cpp +++ b/push.cpp @@ -109,6 +109,7 @@ class CPushMod : public CModule defaults["username"] = ""; defaults["secret"] = ""; defaults["target"] = ""; + defaults["sound"] = ""; // Condition strings defaults["channel_conditions"] = "all"; @@ -312,6 +313,11 @@ class CPushMod : public CModule { params["device"] = options["target"]; } + + if ( options["sound"] != "" ) + { + params["sound"] = options["sound"]; + } } else if (service == "prowl") {