mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-25 17:27:00 +00:00
Refactoring
This commit is contained in:
parent
834e84273b
commit
b9253671a1
1 changed files with 2 additions and 4 deletions
|
@ -613,11 +613,9 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||||
for (EntityMessage threaded : messages) {
|
for (EntityMessage threaded : messages) {
|
||||||
EntityFolder folder = db.folder().getFolder(threaded.folder);
|
EntityFolder folder = db.folder().getFolder(threaded.folder);
|
||||||
if (!target.id.equals(threaded.folder) &&
|
if (!target.id.equals(threaded.folder) &&
|
||||||
!EntityFolder.DRAFTS.equals(folder.type) &&
|
!EntityFolder.DRAFTS.equals(folder.type) && !EntityFolder.OUTBOX.equals(folder.type) &&
|
||||||
!EntityFolder.OUTBOX.equals(folder.type) &&
|
|
||||||
(!EntityFolder.SENT.equals(folder.type) || EntityFolder.TRASH.equals(target.type)) &&
|
(!EntityFolder.SENT.equals(folder.type) || EntityFolder.TRASH.equals(target.type)) &&
|
||||||
!EntityFolder.TRASH.equals(folder.type) &&
|
!EntityFolder.TRASH.equals(folder.type) && !EntityFolder.JUNK.equals(folder.type))
|
||||||
!EntityFolder.JUNK.equals(folder.type))
|
|
||||||
result.add(new MessageTarget(threaded, account, target));
|
result.add(new MessageTarget(threaded, account, target));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue