Show only liked posts in a thread

If that is the right file (and not used only for Digest inclusion or the Top pages) then it looks as though it uses Likes by Moderators and posts by a members Trust Level

  def filter
    @posts =  if @min_replies && @topic.posts_count < @min_replies + 1
                []
              else
                filter_posts_liked_by_moderators
                setup_posts
                filter_posts_based_on_trust_level
                filter_posts_based_on_score
                sort_posts
              end
  end