mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-03 17:56:26 +01:00
Fix infinite re-forwarding of update activities temporarily (#17698)
This commit is contained in:
parent
02dbc59c91
commit
04c3ac896a
@ -26,11 +26,6 @@ class ActivityPub::Activity::Update < ActivityPub::Activity
|
||||
|
||||
return if @status.nil?
|
||||
|
||||
forwarder.forward! if forwarder.forwardable?
|
||||
ActivityPub::ProcessStatusUpdateService.new.call(@status, @object)
|
||||
end
|
||||
|
||||
def forwarder
|
||||
@forwarder ||= ActivityPub::Forwarder.new(@account, @json, @status)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user