Code by Scott שאול בן ישוע
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sha'ul ben Yeshua
Inovelli Scene Creator
Commits
ed2b0a63
Unverified
Commit
ed2b0a63
authored
Jun 03, 2019
by
Stephan Hackett
Committed by
GitHub
Jun 03, 2019
Browse files
Switched from icon to smallicon (certain images didn't render correctly unless small icon uses)
parent
d0ae9b7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
drivers/Join API Driver/Join API Driver.groovy
View file @
ed2b0a63
...
...
@@ -16,7 +16,7 @@
*
*/
def
version
()
{
"v1.0.20190603
a
"
}
def
version
()
{
"v1.0.20190603
b
"
}
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
+=
"&
small
icon="
+
URLEncoder
.
encode
(
myImage
,
"UTF-8"
)
if
(
url
)
apiParams
+=
"&url="
+
URLEncoder
.
encode
(
url
,
"UTF-8"
)
if
(
sound
)
apiParams
+=
"&sound="
+
URLEncoder
.
encode
(
sound
,
"UTF-8"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment