Skip to main content

toggle_comment_reaction

Function toggle_comment_reaction 

Source
pub fn toggle_comment_reaction(
    list: &[ThreadComment],
    id: &str,
    emoji: &str,
    user_id: &str,
) -> Vec<ThreadComment>
Expand description

Pure helper: toggles user_id’s emoji reaction on comment id.