diff --git a/app/serializers/basic_post_serializer.rb b/app/serializers/basic_post_serializer.rb index 014421decfb..5f116c2e93d 100644 --- a/app/serializers/basic_post_serializer.rb +++ b/app/serializers/basic_post_serializer.rb @@ -45,7 +45,7 @@ class BasicPostSerializer < ApplicationSerializer def ignored object.is_first_post? && IgnoredUser.where(user_id: scope.current_user&.id, - ignored_user_id: object.user_id).present? + ignored_user_id: object.user_id).exists? end def include_name?