You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: imap: Don't prefetch Chat-Version; try to find out message encryption state instead
Instead, prefetch Secure-Join, Content-Type and Subject headers, try to find out if the message is encrypted, i.e.:
- if its Content-Type is "multipart/encrypted"
- or Subject is "..." or "[...]" as Some MUAs use "multipart/mixed"; we can't only look at Subject
as it's not mandatory;
and depending on this decide on the target folder.
Changed behavior: before, "Chat-Version"-containing messages were moved from INBOX to DeltaChat, now
such encrypted messages may remain in INBOX -- if there's no parent message or it's not
`MessengerMessage`. We can't unconditionally move encrypted messages because the account may be
shared with other software which doesn't and shouldn't look into DeltaChat.
Part of chatmail/scalable-resilient-chat#13.
("Spam",false,false,"INBOX"),// Move classical emails in accepted chats from Spam to Inbox, not 100% sure on this, we could also just never move non-chat-msgs
173
+
("INBOX",true,true,"INBOX"),
174
+
("Spam",false,false,"INBOX"),
173
175
("Spam",false,true,"INBOX"),
174
-
("Spam",true,false,"INBOX"),// Move classical emails in accepted chats from Spam to Inbox, not 100% sure on this, we could also just never move non-chat-msgs
176
+
// Move unencrypted emails in accepted chats from Spam to INBOX, not 100% sure on this, we could
177
+
// also not move unencrypted emails or, if mvbox_move=1, move them to DeltaChat.
178
+
("Spam",true,false,"INBOX"),
175
179
("Spam",true,true,"DeltaChat"),
176
180
];
177
181
178
-
// These are the same as above, but non-chat messages in Spam stay in Spam
182
+
// These are the same as above, but unencrypted messages in Spam stay in Spam.
0 commit comments