Browse Source

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.
pull/4/head
puckipedia 6 years ago
committed by Eugen Rochko
parent
commit
628358aeea
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/lib/activitypub/tag_manager.rb

+ 2
- 0
app/lib/activitypub/tag_manager.rb View File

@ -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…
Cancel
Save