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

Accept the same payload in multiple inboxes and deliver #9150

Merged
merged 1 commit into from
Oct 30, 2018

Conversation

Gargron
Copy link
Member

@Gargron Gargron commented Oct 30, 2018

No description provided.

@Gargron Gargron added the activitypub Protocol-related changes, federation label Oct 30, 2018
delivered_to_account = Account.find(@options[:delivered_to_account_id])

@status.mentions.create(account: delivered_to_account, silent: true)
@status.update(visibility: :limited) if @status.direct_visibility?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not completely sure what the “limited” visibility in Mastodon encompasses, but apart from that, looks good to me.

@Gargron Gargron merged commit be202f9 into master Oct 30, 2018
@Gargron Gargron deleted the fix-repeat-inbox-deliveries branch October 30, 2018 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
activitypub Protocol-related changes, federation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants