From 0d653b9ceaa511a753392ac38119bc53f150c8b0 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 10 May 2019 15:25:54 +0200 Subject: [PATCH] Revert "Operations with ReadOnlyFolderException are unrecoverable" This reverts commit 2ca0ec64ad347c8f0d27d1bf9487d5af9deb602f. --- app/src/main/java/eu/faircode/email/Core.java | 2 -- 1 file changed, 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 3a95fe4b3f..b870f1f446 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -90,7 +90,6 @@ import javax.mail.FolderNotFoundException; import javax.mail.Message; import javax.mail.MessageRemovedException; import javax.mail.MessagingException; -import javax.mail.ReadOnlyFolderException; import javax.mail.SendFailedException; import javax.mail.Session; import javax.mail.Store; @@ -262,7 +261,6 @@ class Core { ex instanceof MessageRemovedException || ex instanceof FolderNotFoundException || ex instanceof IllegalArgumentException || - ex instanceof ReadOnlyFolderException || ex.getCause() instanceof CommandFailedException) { Log.w("Unrecoverable");