mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 09:26:29 +03:00
refactor: Don't pass seen=true to add_parts() when replacing existing message
First of all, it's just downloaded and hasn't been seen yet by the user. Also this changes nothing as `msgs.state` isn't changed when replacing a message anyway.
This commit is contained in:
@@ -324,7 +324,7 @@ pub(crate) async fn receive_imf_inner(
|
|||||||
&to_ids,
|
&to_ids,
|
||||||
rfc724_mid_orig,
|
rfc724_mid_orig,
|
||||||
from_id,
|
from_id,
|
||||||
seen || replace_msg_id.is_some(),
|
seen,
|
||||||
is_partial_download,
|
is_partial_download,
|
||||||
replace_msg_id,
|
replace_msg_id,
|
||||||
fetching_existing_messages,
|
fetching_existing_messages,
|
||||||
|
|||||||
Reference in New Issue
Block a user