def do_unmute_topic(user_profile: UserProfile, stream: Stream, topic: str) -> None:
    remove_topic_mute(user_profile, stream.id, topic)
    event = dict(type='muted_topics', muted_topics=get_topic_mutes(user_profile))
    send_event(user_profile.realm, event, [user_profile.id])
def do_unmute_topic(user_profile: UserProfile, stream: Stream, topic: str) -> None:
    remove_topic_mute(user_profile, stream.id, topic)
    event = dict(type='muted_topics', muted_topics=get_topic_mutes(user_profile))
    send_event(user_profile.realm, event, [user_profile.id])