about summary refs log tree commit diff
path: root/app/models/concerns
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-09-24 14:42:29 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-09-24 14:42:29 +0200
commita706f1af0486616181b2645615e5ff305f1bbdd6 (patch)
tree60ac9cbf6186a51c67e0e86cbfb9116ed5fde9d1 /app/models/concerns
parentfb9401379699a06508a8f3ca84433d1b20bc4975 (diff)
Don't generate stream entries for streamables of remote accounts
Diffstat (limited to 'app/models/concerns')
-rw-r--r--app/models/concerns/streamable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/streamable.rb b/app/models/concerns/streamable.rb
index 9f7c6e4a3..8d754949e 100644
--- a/app/models/concerns/streamable.rb
+++ b/app/models/concerns/streamable.rb
@@ -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