buzzrelay icon indicating copy to clipboard operation
buzzrelay copied to clipboard

Update and Delete activities are not forwarded

Open ClearlyClaire opened this issue 2 years ago • 2 comments

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.

ClearlyClaire avatar Aug 09 '23 11:08 ClearlyClaire

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?

astro avatar Oct 29 '23 18:10 astro

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.

ClearlyClaire avatar Oct 30 '23 08:10 ClearlyClaire