Webhook Extension: How to avoid multiple calls for the same event #528
|
Hello, So i want to get a pushover notification, if one of the keywords is part of the title of a rss news. I do get a notification, but multiple times. It seems on every RSS fetch process, the webhook gets triggered. Again and again. It would be great, if the webhook would be only triggered once. How can i achive this behaviour? Thank you! |
Replies: 1 comment 2 replies
|
This is expected with the current code. The extension hooks The extension has an Until that is fixed upstream, the simplest workaround is to edit if ($entry->isUpdated()) {
return $entry;
}(replacing the To confirm the cause: the extension only logs failures, not successful sends. You can temporarily add Code: https://github.com/FreshRSS/Extensions/blob/main/xExtension-Webhook/extension.php |
I opened #531 to add the missing checkbox, so once it's merged you can just tick "Ignore updated articles" in the extension settings instead of patching the code.