about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/status.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/status.rb b/app/models/status.rb
index 02bc3ee94..4210a1815 100644
--- a/app/models/status.rb
+++ b/app/models/status.rb
@@ -343,7 +343,7 @@ class Status < ApplicationRecord
       else
         mutual_account_ids = account.following_ids & account.follower_ids
         query = Status.where(account_id: account.id)
-          .or(Status.where(account_ids: mutual_account_ids, visibility: [:private, :local, :unlisted]))
+          .or(Status.where(account_id: mutual_account_ids, visibility: [:private, :local, :unlisted]))
           .or(Status.where(id: account.mentions.select(:status_id)))
       end
       return none if term.blank?