Bump version to v4.4.7 (#36473)
This commit is contained in:
parent
1e27ab0885
commit
8965e1bfa9
4 changed files with 16 additions and 6 deletions
|
|
@ -59,9 +59,11 @@ class ActivityPub::Activity::Delete < ActivityPub::Activity
|
|||
@quote = Quote.find_by(approval_uri: object_uri, quoted_account: @account)
|
||||
return if @quote.nil?
|
||||
|
||||
ActivityPub::Forwarder.new(@account, @json, @quote.status).forward!
|
||||
ActivityPub::Forwarder.new(@account, @json, @quote.status).forward! if @quote.status.present?
|
||||
|
||||
@quote.reject!
|
||||
DistributionWorker.perform_async(@quote.status_id, { 'update' => true })
|
||||
|
||||
DistributionWorker.perform_async(@quote.status_id, { 'update' => true }) if @quote.status.present?
|
||||
end
|
||||
|
||||
def forwarder
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue