Skip to main content

update_thread_bundle

Function update_thread_bundle 

Source
pub(super) fn update_thread_bundle<E>(
    unsigned: &mut CanonicalJsonObject,
    event: &E,
)
where E: Event,
Expand description

Records event as the newest reply in a root’s unsigned.

Sets the bundle’s latest_event, counts the reply, and marks the thread as participated in only when the bundle does not say either way.