Skip to main content

apply_session_update_to_entries

Function apply_session_update_to_entries 

Source
pub fn apply_session_update_to_entries(
    entries: &mut Vec<ChatEntry>,
    seq: u64,
    recorded_at_ms: Option<i64>,
    update: SessionUpdate,
) -> Option<SessionUpdate>
Expand description

Apply the transcript-visible part of one ACP session update. Returns the update again when it changes the session surface rather than the transcript, so the chat view handles those without decoding twice.