From 7b6d5b5d98ebcc772b83e5f8519289a2313770e5 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 10 Sep 2024 21:37:15 +0200 Subject: [PATCH] Fixed logging --- app/src/main/java/eu/faircode/email/Core.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index 8866eaa0eb..095d2bd5cc 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -2392,13 +2392,13 @@ class Core { " messages=" + (imessages == null ? null : imessages.length)); if (account.isOutlook() && (imessages == null || imessages.length == 0)) { + imessages = ifolder.search( + new HeaderTerm(MessageHelper.HEADER_MICROSOFT_ORIGINAL_MESSAGE_ID, message.msgid)); EntityLog.log(context, folder.name + " exists alt" + " retry=" + retry + " host=" + account.host + " outlook=" + account.isOutlook() + " messages=" + (imessages == null ? null : imessages.length)); - imessages = ifolder.search( - new HeaderTerm(MessageHelper.HEADER_MICROSOFT_ORIGINAL_MESSAGE_ID, message.msgid)); } // Searching for random header: