Skip to content

Accept the same payload in multiple inboxes and deliver#9150

Merged
Gargron merged 1 commit intomasterfrom
fix-repeat-inbox-deliveries
Oct 30, 2018
Merged

Accept the same payload in multiple inboxes and deliver#9150
Gargron merged 1 commit intomasterfrom
fix-repeat-inbox-deliveries

Conversation

@Gargron
Copy link
Copy Markdown
Member

@Gargron Gargron commented Oct 30, 2018

No description provided.

@Gargron Gargron added the activitypub Protocol-related changes, federation label Oct 30, 2018
@Gargron Gargron force-pushed the fix-repeat-inbox-deliveries branch from 2afa8b6 to ab4eced Compare October 30, 2018 04:07
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
Copy Markdown
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