Skip to content

Commit b83bd26

Browse files
committed
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.
1 parent 44227d7 commit b83bd26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/receive_imf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ pub(crate) async fn receive_imf_inner(
324324
&to_ids,
325325
rfc724_mid_orig,
326326
from_id,
327-
seen || replace_msg_id.is_some(),
327+
seen,
328328
is_partial_download,
329329
replace_msg_id,
330330
fetching_existing_messages,

0 commit comments

Comments
 (0)