diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-24 14:42:29 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-24 14:42:29 +0200 |
commit | a706f1af0486616181b2645615e5ff305f1bbdd6 (patch) | |
tree | 60ac9cbf6186a51c67e0e86cbfb9116ed5fde9d1 /app | |
parent | fb9401379699a06508a8f3ca84433d1b20bc4975 (diff) |
Don't generate stream entries for streamables of remote accounts
Diffstat (limited to 'app')
-rw-r--r-- | app/models/concerns/streamable.rb | 2 |
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 |