logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: a706f1af0486616181b2645615e5ff305f1bbdd6
parent: fb9401379699a06508a8f3ca84433d1b20bc4975
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Sat, 24 Sep 2016 14:42:29 +0200

Don't generate stream entries for streamables of remote accounts

Diffstat:

Mapp/models/concerns/streamable.rb2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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