Commit a706f1af authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Don't generate stream entries for streamables of remote accounts

parent fb940137
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment