Skip to content

Commit a706f1a

Browse files
committed
Don't generate stream entries for streamables of remote accounts
1 parent fb94013 commit a706f1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/concerns/streamable.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def thread
2525
end
2626

2727
after_create do
28-
self.account.stream_entries.create!(activity: self)
28+
self.account.stream_entries.create!(activity: self) if self.account.local?
2929
end
3030
end
3131
end

0 commit comments

Comments
 (0)