astro / buzzrelay

Source to relay.fedi.buzz: relay the streaming API of Mastodon instances
https://relay.fedi.buzz
GNU Affero General Public License v3.0
70 stars 9 forks source link

Update and Delete activities are not forwarded #10

Open ClearlyClaire opened 11 months ago

ClearlyClaire commented 11 months ago

Looking at the code, the relay does not seem to handle delete or status.update events from the streaming server, which means that subscribing servers will be made aware of the first version of posts, but not updates or deletions.

astro commented 8 months ago

Unfortunately, the content of delete events is a bare numeric from which I cannot reconstruct the full object id. Is that something which can still be changed in Mastodon's streaming API?

ClearlyClaire commented 8 months ago

The streaming protocol is intended for clients and assumes you reference and store items by the provided local ID (since that's how you do anything with them through the client APIs), so for your purposes, you'd need to maintain a mapping from local IDs to ActivityPub IDs.