about summary refs log tree commit diff
path: root/app/models/status.rb
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2020-05-28 13:44:57 +0200
committerThibaut Girka <thib@sitedethib.com>2020-05-28 13:44:57 +0200
commitef6bfaf12ed9ac71ea9912c79dcbad8b2b6ea260 (patch)
tree0e381b3df9405d665dc22fd5081de913bfd83907 /app/models/status.rb
parentead09f5ddc73034fcd573b459868dd1ca13b647a (diff)
parent57e5e656877604f813bfe511f7b248326ad36ad2 (diff)
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/models/status.rb')
-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 341f72090..594ae98c0 100644
--- a/app/models/status.rb
+++ b/app/models/status.rb
@@ -145,7 +145,7 @@ class Status < ApplicationRecord
     ids << account_id if local?
 
     if preloaded.nil?
-      ids += mentions.where(account: Account.local).pluck(:account_id)
+      ids += mentions.where(account: Account.local, silent: false).pluck(:account_id)
       ids += favourites.where(account: Account.local).pluck(:account_id)
       ids += reblogs.where(account: Account.local).pluck(:account_id)
       ids += bookmarks.where(account: Account.local).pluck(:account_id)