Change relays handling to not record boosts (#17571)
* Change relays handling to not record boosts * Update tests
This commit is contained in:
parent
73fce8d311
commit
8f537a1168
2 changed files with 13 additions and 20 deletions
|
@ -8,6 +8,7 @@ class ActivityPub::Activity::Announce < ActivityPub::Activity
|
|||
original_status = status_from_object
|
||||
|
||||
return reject_payload! if original_status.nil? || !announceable?(original_status)
|
||||
return if requested_through_relay?
|
||||
|
||||
@status = Status.find_by(account: @account, reblog: original_status)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue