fullphat/snarl

WebSNP - How to force Snarl to not update existing notification?

Opened this issue · 4 comments

Due to reasons I need the notifications to stay sticky. But webSNP notifs that are sent while the previous is sticky updates the previous notification. How do I force WebSNP to always post new notification (not update existing)?

Ex two notifications sent after each other, with the sticky set in settings->notifications:

curl "http://192.168.2.10:23053/v1/notify?title=test1&text=test56"
{
"Meta": {
"Success": true,
"Code": 252,
"Text": "Created",
"Message": "",
"Host": "IDORU",
"Server": "Snarl 5.1.0"
},
"Content": {
"Value": 436
}
}

curl "http://192.168.2.10:23053/v1/notify?title=test2&text=test100"
{
"Meta": {
"Success": true,
"Code": 253,
"Text": "Updated",
"Message": "Existing notification updated",
"Host": "IDORU",
"Server": "Snarl 5.1.0"
},
"Content": {
"Value": 436
}
}

bump

bump

bump

bump