def _thread_title_check(original_post, history_item):
    """
    Verify that the link titles match. On the original post, it will be
    removed, but we should still be able to extract the title of the
    submission it's on. Then we check to see if the title for that submission
    is in the r/ToR post, mirroring the max line truncation that's in
    posts.py.

    :param original_post: Comment object; comment that says "done".
    :param history_item: Comment object; comment pulled from user's history.
    """
    max_title_length = 250
    return (
        history_item.link_title[:max_title_length - 4] in
        original_post.link_title
    )