Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish notes announced by relay #11056

Open
Ninlives opened this issue Jun 29, 2023 · 0 comments
Open

Publish notes announced by relay #11056

Ninlives opened this issue Jun 29, 2023 · 0 comments
Labels
✨Feature This adds/improves/enhances a feature

Comments

@Ninlives
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨Feature This adds/improves/enhances a feature
Projects
Development

No branches or pull requests

1 participant