fullphat / snarl

When { stuff_happens(); tell_me() }
http://snarl.fullphat.net
57 stars 2 forks source link

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

Open iMelsom opened 4 years ago

iMelsom commented 4 years ago

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 } }

iMelsom commented 3 years ago

bump

iMelsom commented 3 years ago

bump

iMelsom commented 3 years ago

bump

iMelsom commented 2 years ago

bump