Browse Source

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

closed-social-glitch-2
Eugen Rochko 2 years ago
committed by GitHub
parent
commit
04c3ac896a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      app/lib/activitypub/activity/update.rb

+ 0
- 5
app/lib/activitypub/activity/update.rb 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

Loading…
Cancel
Save