Follow request authorizations faster
This commit is contained in:
		
							parent
							
								
									eb62778bec
								
							
						
					
					
						commit
						57f7cf8349
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -13,7 +13,7 @@ class FollowRequest < ApplicationRecord
 | 
			
		|||
 | 
			
		||||
  def authorize!
 | 
			
		||||
    account.follow!(target_account)
 | 
			
		||||
    FeedManager.instance.merge_into_timeline(target_account, account)
 | 
			
		||||
    MergeWorker.perform_async(target_account.id, account.id)
 | 
			
		||||
    destroy!
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue