1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-04 06:20:26 +00:00

Refactoring

This commit is contained in:
M66B 2020-04-04 11:21:08 +02:00
parent 57e1ca36a1
commit 341ed28d33

View file

@ -2070,7 +2070,8 @@ class Core {
if (message == null) {
String msgid = helper.getMessageID();
Log.i(folder.name + " searching for " + msgid);
for (EntityMessage dup : db.message().getMessagesByMsgId(folder.account, msgid)) {
List<EntityMessage> dups = db.message().getMessagesByMsgId(folder.account, msgid);
for (EntityMessage dup : dups) {
EntityFolder dfolder = db.folder().getFolder(dup.folder);
Log.i(folder.name + " found as id=" + dup.id + "/" + dup.uid +
" folder=" + dfolder.type + ":" + dup.folder + "/" + folder.type + ":" + folder.id +