mirror of
https://github.com/chatmail/core.git
synced 2026-04-26 18:06:35 +03:00
Start ephemeral timer when seen status is synchronized via imap
This commit is contained in:
@@ -2015,6 +2015,12 @@ async fn mark_seen_by_uid(
|
||||
> 0;
|
||||
|
||||
if updated {
|
||||
msg_id
|
||||
.start_ephemeral_timer(context)
|
||||
.await
|
||||
.with_context(|| {
|
||||
format!("failed to start ephemeral timer for message {}", msg_id)
|
||||
})?;
|
||||
Ok(Some(chat_id))
|
||||
} else {
|
||||
// Message state has not chnaged.
|
||||
|
||||
Reference in New Issue
Block a user