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.
th-downstream
puckipedia 7 years ago committed by Eugen Rochko
parent eac9039a63
commit 74e427c24b

@ -67,6 +67,8 @@ class ActivityPub::TagManager
def cc(status) def cc(status)
cc = [] cc = []
cc << uri_for(status.reblog.account) if status.reblog?
case status.visibility case status.visibility
when 'public' when 'public'
cc << account_followers_url(status.account) cc << account_followers_url(status.account)

Loading…
Cancel
Save