diff options
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/status_filter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/status_filter.rb b/app/lib/status_filter.rb index f9d88c3af..3a50907e6 100644 --- a/app/lib/status_filter.rb +++ b/app/lib/status_filter.rb @@ -59,7 +59,7 @@ class StatusFilter return false if mentioned_account_ids.include?(account.id) # Filter posts missing media descriptions. - return true if account.filter_undescribed? && status.media_attachments.all? { |attachment| attachment.description.blank? } + return true if account.user.filter_undescribed? && status.media_attachments.all? { |attachment| attachment.description.blank? } return true if account.user_hides_mentions_of_blocked? && mentioned_accounts.where.not(suspended_at: nil).exists? |