This commit is contained in:
Dave Conway-Jones 2021-03-17 21:08:24 +00:00
commit 7ee8f032df
No known key found for this signature in database
GPG Key ID: 88BA2B8A411BE9FF
2 changed files with 2 additions and 1 deletions

View File

@ -82,6 +82,7 @@
<p><code>msg.attachment</code>: attach an image (Buffer or file path)</p>
<p><code>msg.url</code>: to add a web address</p>
<p><code>msg.url_title</code>: to add a url title if not already set in the properties</p>
<p><code>msg.html</code>: set to true or 1 if message is HTML formatted
<p><code>msg.sound</code>: set the notification sound, <i><a href="https://pushover.net/api#sounds" target="_new">see the available options</a></i></p>
<p>Uses Pushover. See <i><a href="https://pushover.net" target="_new">this link</a></i> for more details.</p>
</script>

View File

@ -37,7 +37,7 @@ module.exports = function(RED) {
var sound = node.sound || msg.sound || null;
var url = node.url || msg.url || null;
var url_title = node.url_title || msg.url_title || null;
var html = node.html || false;
var html = node.html || msg.html || false;
var attachment = msg.attachment || null;
if (isNaN(pri)) {pri=0;}
if (pri > 2) {pri = 2;}