Do not override timestamps for incoming toots (#7326)
This commit is contained in:
		
							parent
							
								
									28b366d065
								
							
						
					
					
						commit
						bd36791832
					
				@ -6,6 +6,6 @@ class ActivityPub::ProcessingWorker
 | 
				
			|||||||
  sidekiq_options backtrace: true
 | 
					  sidekiq_options backtrace: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  def perform(account_id, body)
 | 
					  def perform(account_id, body)
 | 
				
			||||||
    ActivityPub::ProcessCollectionService.new.call(body, Account.find(account_id), override_timestamps: true)
 | 
					    ActivityPub::ProcessCollectionService.new.call(body, Account.find(account_id))
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
				
			|||||||
@ -6,6 +6,6 @@ class ProcessingWorker
 | 
				
			|||||||
  sidekiq_options backtrace: true
 | 
					  sidekiq_options backtrace: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  def perform(account_id, body)
 | 
					  def perform(account_id, body)
 | 
				
			||||||
    ProcessFeedService.new.call(body, Account.find(account_id), override_timestamps: true)
 | 
					    ProcessFeedService.new.call(body, Account.find(account_id))
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user