diff options
-rw-r--r-- | app/serializers/rest/status_serializer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/rest/status_serializer.rb b/app/serializers/rest/status_serializer.rb index 931904636..11a50c47b 100644 --- a/app/serializers/rest/status_serializer.rb +++ b/app/serializers/rest/status_serializer.rb @@ -153,7 +153,7 @@ class REST::StatusSerializer < ActiveModel::Serializer end def card_not_filtered? - !(current_user? && current_user.hides_sensitive_cards? && object.sensitive?) + current_user.nil? || !(current_user.hides_sensitive_cards? && object.sensitive?) end def ordered_mentions |