tut icon indicating copy to clipboard operation
tut copied to clipboard

Notification "severed_relationships" is not implemented.

Open russsharek opened this issue 8 months ago • 3 comments

tut helpfully passed me this:

Notification "severed_relationships" is not implemented. Open an issue at https://github.com/RasmusLindroth/tut

Posting here in hopes that someone eventually can help.

russsharek avatar May 03 '25 12:05 russsharek

Hi @russsharek, which version of tut are you using? The latest release (2.0.1) does not contain any references to severed_relationships in the source code from what I can see, so you could try upgrading to that version and see if the problem persists.

kchr avatar May 03 '25 13:05 kchr

Well that's baffling.

I'm currently running 2.0.1 on OpenBSD.

russsharek avatar May 03 '25 17:05 russsharek

Ah, it is an event in the upstream Mastodon API:s that was added in version 4.3.0 on 2024-10-08[0]:

Add notifications of severed relationships [...] Notify local users when they lose relationships as a result of a local moderator blocking a remote account or server, allowing the affected user to retrieve the list of broken relationships. Note that this does not notify remote users. This adds the severed_relationships notification type to the REST API and streaming, with a new event attribute.

Since the tut client has not received any updates since 2023-01-26, that explains why it doesn't have any handler for this event and fails with an error. It is probably safe to assume it is lacking support for other events and functionality added in the upstream API:s within the past two years as well.

I will see what I can do in terms of adding support for this event type, but since @RasmusLindroth is currently on hiatus I wouldn't expect any merged pull requests for a while.

[0] https://github.com/mastodon/mastodon/blob/main/CHANGELOG.md#430---2024-10-08

kchr avatar May 03 '25 21:05 kchr