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:
iequidoo
2023-11-26 20:34:09 -03:00
committed by iequidoo
parent 44227d7b86
commit b83bd26325

View File

@@ -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,