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.
pub fn toggle_comment_reaction(
list: &[ThreadComment],
id: &str,
emoji: &str,
user_id: &str,
) -> Vec<ThreadComment>Pure helper: toggles user_id’s emoji reaction on comment id.