code: def moderation_state_visible_to_user?(user)
        moderation_state_visible_to_all? ||
          (!user.thredded_anonymous? &&
            (user_id == user.id || user.thredded_can_moderate_messageboard?(messageboard)))
      end
docs: Whether this is visible to the given user based on the moderation state.