about summary refs log tree commit diff
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2020-03-03 20:42:45 -0600
committermultiple creatures <dev@multiple-creature.party>2020-03-03 20:42:45 -0600
commit5dd65e0c6fdd8623af09f545991fb5995fe916c1 (patch)
treeb1c6685eb22f05412210bfd83b00a6caf334ec9a
parentb5e23152bd1c2ea1091b2785a49e9ab3d0f3fd16 (diff)
fix non-self replies showing up on local timeline
-rw-r--r--app/models/status.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/status.rb b/app/models/status.rb
index e4cbfd2a6..2c0378d7f 100644
--- a/app/models/status.rb
+++ b/app/models/status.rb
@@ -501,6 +501,7 @@ class Status < ApplicationRecord
 
     def as_public_timeline(account = nil, local_only = false)
       query = (local_only || account.nil?) ? timeline_scope(local_only) : curated
+      query = query.without_replies
       if account&.local?
         query = query.without_reblogs if account&.user&.hide_boosts
         query = query.only_followers_of(account) if account&.user&.only_known?