mark_conversation_read_up_to

Function mark_conversation_read_up_to 

Source
pub fn mark_conversation_read_up_to(
    bridge: &mut SignalBridge,
    rdx_fingerprint: &str,
    up_to_timestamp: u64,
) -> Result<(), Box<dyn Error>>
Expand description

Marks a conversation as read up to a specific timestamp

This prevents race conditions where new messages arrive after loading history. Only marks messages with timestamp <= up_to_timestamp as read.

§Arguments

  • bridge - Signal bridge instance
  • rdx_fingerprint - Contact’s RDX fingerprint
  • up_to_timestamp - Messages up to and including this timestamp are marked read