mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +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,
|
||||
rfc724_mid_orig,
|
||||
from_id,
|
||||
seen || replace_msg_id.is_some(),
|
||||
seen,
|
||||
is_partial_download,
|
||||
replace_msg_id,
|
||||
fetching_existing_messages,
|
||||
|
||||
Reference in New Issue
Block a user