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") {