1
0
Fork 0
forked from fedi/mastodon

Fix infinite re-forwarding of update activities temporarily (#17698)

This commit is contained in:
Eugen Rochko 2022-03-04 01:00:13 +01:00 committed by GitHub
parent 02dbc59c91
commit 04c3ac896a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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