My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 628358aeea65587c2862b9fab67a9d18cb52ce93
parent: c235711ffee6999c09bd6910373ebcfbc7758e99
Author: puckipedia <puck@puckipedia.com>
Date:   Tue,  9 Jan 2018 00:47:43 +0100

Add the author of a status to cc if reblogged (#6226)

This makes slightly more sense, and ensures that the author of a post is always referenced in the audience (which some servers might rely on). And the announce is POSTed to the author's inbox anyways.


1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/app/lib/activitypub/tag_manager.rb b/app/lib/activitypub/tag_manager.rb @@ -67,6 +67,8 @@ class ActivityPub::TagManager def cc(status) cc = [] + cc << uri_for(status.reblog.account) if status.reblog? + case status.visibility when 'public' cc << account_followers_url(status.account)