misskey icon indicating copy to clipboard operation
misskey copied to clipboard

Publish notes announced by relay

Open Ninlives opened this issue 2 years ago โ€ข 0 comments

Summary

Publish notes announced by relays instead of creating renotes. Some relays (e.g. aode-relay, buzzrelay) may deliver notes using Announce activity, which will result in a lot of renotes in the timeline, usually this is not desired IMHO.

Possible Solution

When an Annouce activity arrives, check the inbox of the corresponding actor. If it is the inbox of any known relay, after resolving the object, publish it directly instead of creating renotes.

I've implemented the above solution in this commit.

Ninlives avatar Jun 29 '23 06:06 Ninlives