mirror of
https://github.com/chatmail/core.git
synced 2026-05-05 14:26:30 +03:00
ephemeral: always apply timers from system messages
Also extend the tests to catch regressions.
This commit is contained in:
@@ -881,6 +881,7 @@ async fn add_parts(
|
||||
.await?
|
||||
.map(|p| p.ephemeral_timer)
|
||||
== Some(ephemeral_timer)
|
||||
&& mime_parser.is_system_message != SystemMessage::EphemeralTimerChanged
|
||||
{
|
||||
// The message is a Delta Chat message, so we know that previous message according to
|
||||
// References header is the last message in the chat as seen by the sender. The timer
|
||||
|
||||
Reference in New Issue
Block a user