$ curl -XPOST -d 'sound=pushover&title=test&url=&priority=0&token=MY_TOKEN&user=&device=&message=test&url_title=' https://api.pushover.net/1/messages
{"user":"invalid","errors":["user identifier is not a valid user, group, or subscribed user key"],"status":0,"request":"d961e780-b6fa-4d6f-bcde-63df63437c96"}
I won't have time to create a proper pull request for a while, but changing the condition on L54 of plugin.py to != "" sends messages with my user token using the above notification.
In
send
the plugin fills in some params including theuser
value from the plugin configuration boxThen the plugin overwrites the
user
with themsgUser
option if it is notNone
If you do not fill in the "User:" field the value that the plugin checks is not
None
, it appears to be an empty string (""
).For the above dialog, the request body contains:
This results in the following response:
I won't have time to create a proper pull request for a while, but changing the condition on L54 of plugin.py to
!= ""
sends messages with my user token using the above notification.