Fix infinite re-forwarding of update activities temporarily (#17698)
This commit is contained in:
		
							parent
							
								
									d8c9612493
								
							
						
					
					
						commit
						799a812dbe
					
				
					 1 changed files with 0 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -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 a new issue