deltachat::ephemeral

Function next_expiration_timestamp

source
async fn next_expiration_timestamp(context: &Context) -> Option<i64>
Expand description

Calculates next timestamp when expiration of some message will happen.

Expiration can happen either because user has set delete_device_after setting or because the message itself has an ephemeral timer.