Skip to main content

attribute_message

Function attribute_message 

Source
pub fn attribute_message(
    message: &mut Message,
    source_id: &str,
    source_type: Option<&str>,
    origin_session_ids: &[String],
)
Expand description

Tag message as contributed by source_id, merging with any attribution it already carries (an existing source_id/source_type is kept; origin session ids accumulate without duplicates).