pub(crate) async fn delete_expired_messages(
context: &Context,
now: i64,
) -> Result<()>Expand description
Deletes messages which are expired according to
delete_device_after setting or ephemeral_timestamp column.
Emits relevant MsgsChanged and WebxdcInstanceDeleted events
if messages are deleted.