From 1e329a7d7254c02cc4a9e6d2b717318d32c25669 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Fri, 10 Jan 2020 20:43:46 -0600 Subject: `account.filter_undescribed?` -> `account.user.filter_undescribed?` --- app/lib/status_filter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/lib') 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? -- cgit