Don't generate stream entries for streamables of remote accounts

This commit is contained in:
Eugen Rochko 2016-09-24 14:42:29 +02:00
parent fb94013796
commit a706f1af04

View file

@ -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