Skip to content

Commit

Permalink
Don't generate stream entries for streamables of remote accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargron committed Sep 24, 2016
1 parent fb94013 commit a706f1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/concerns/streamable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def thread
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

0 comments on commit a706f1a

Please sign in to comment.