deltachat::contact

Function update_last_seen

source
pub(crate) async fn update_last_seen(
    context: &Context,
    contact_id: ContactId,
    timestamp: i64,
) -> Result<()>
Expand description

Updates last seen timestamp of the contact if it is earlier than the given timestamp.