Code by Scott שאול בן ישוע
Unverified Commit ed2b0a63 authored by Stephan Hackett's avatar Stephan Hackett Committed by GitHub
Browse files

Switched from icon to smallicon (certain images didn't render correctly unless small icon uses)

parent d0ae9b7e
......@@ -16,7 +16,7 @@
*
*/
def version() {"v1.0.20190603a"}
def version() {"v1.0.20190603b"}
preferences {
input("apiKey", "text", title: "Join API Key:", description: "")
......@@ -154,7 +154,7 @@ def deviceNotification(message) {
if(deviceName) apiParams += "&deviceNames=${deviceName}"
if(myTitle) apiParams += "&title=" + URLEncoder.encode(myTitle, "UTF-8")
if(message) apiParams += "&text=" + URLEncoder.encode(message, "UTF-8")
if(myImage) apiParams += "&icon=" + URLEncoder.encode(myImage, "UTF-8")
if(myImage) apiParams += "&smallicon=" + URLEncoder.encode(myImage, "UTF-8")
if(url) apiParams += "&url=" + URLEncoder.encode(url, "UTF-8")
if(sound) apiParams += "&sound=" + URLEncoder.encode(sound, "UTF-8")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment