misskey
misskey copied to clipboard
Publish notes announced by relay
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.