-
|
I’ve made a small extension that creates a notification on Discord when a new article/entry appears in a feed. To do this I’m using the I’ve now been asked if it’s possible to skip sending a notification for entries automatically marked as read by filter actions. Looking into the source code, the This means extensions can’t know whether an entry has been marked as read before it’s inserted into the database. As I see it, there are a few possible options:
What do you think is the best way forward, any ideas is appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
I would suggest two new hooks References:
Would you feel like sending a PR? |
Beta Was this translation helpful? Give feedback.
I would suggest two new hooks
entry_before_updateandentry_before_add, respectively just before$entryDAO->updateEntry($entry->toArray());andif ($entryDAO->addEntry($entry->toArray(), true)) {References:
Would you feel like sending a PR?