We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
self_sent
1 parent a7eab13 commit 7e5cec6Copy full SHA for 7e5cec6
src/receive_imf.rs
@@ -1043,7 +1043,7 @@ async fn add_parts(
1043
// self-sent messages in Saved Messages with own address in the `To` field.
1044
// New Delta Chat versions may use empty `To` field
1045
// with only a single `hidden-recipients` group in this case.
1046
- let self_sent = to_ids.is_empty() || (to_ids.len() == 1 && to_id == ContactId::SELF);
+ let self_sent = to_ids.len() <= 1 && to_id == ContactId::SELF;
1047
1048
if mime_parser.sync_items.is_some() && self_sent {
1049
chat_id = Some(DC_CHAT_ID_TRASH);
0 commit comments