mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
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.
This commit is contained in:
parent
c235711ffe
commit
628358aeea
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user