matrix-org / matrix-hookshot

A bridge between Matrix and multiple project management services, such as GitHub, GitLab and JIRA.
https://matrix-org.github.io/matrix-hookshot/
Apache License 2.0
283 stars 68 forks source link

Report the latest feed entry when fetching a feed for the first time #809

Open tadzik opened 1 year ago

tadzik commented 1 year ago

We only do this for persistent storage, otherwise we'd trigger a wave of spam on every restart.

TODO:

Fixes https://github.com/matrix-org/matrix-hookshot/issues/806

On second thought, that won't work just yet – this will only report the newest entry for brand new feeds that no one has subscribed to before. We'll need some special path to make it possible to repost a previously seen entry if a room is new.