Don't generate stream entries for streamables of remote accounts
This commit is contained in:
		
							parent
							
								
									fb94013796
								
							
						
					
					
						commit
						a706f1af04
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -25,7 +25,7 @@ module Streamable
 | 
			
		|||
    end
 | 
			
		||||
 | 
			
		||||
    after_create do
 | 
			
		||||
      self.account.stream_entries.create!(activity: self)
 | 
			
		||||
      self.account.stream_entries.create!(activity: self) if self.account.local?
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue