Skip contacts in trash and junk

pull/153/head
M66B 6 years ago
parent 83e4197bf9
commit 6ed3b1c6ab

@ -1213,7 +1213,10 @@ class Core {
attachment.id = db.attachment().insertAttachment(attachment);
}
if (!folder.isOutgoing() && !EntityFolder.ARCHIVE.equals(folder.type)) {
if (!folder.isOutgoing() &&
!EntityFolder.ARCHIVE.equals(folder.type) &&
!EntityFolder.TRASH.equals(folder.type) &&
!EntityFolder.JUNK.equals(folder.type)) {
Address[] replies = (message.reply != null ? message.reply : message.from);
if (replies != null) {
// Check if from self

Loading…
Cancel
Save