1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-28 18:59:01 +00:00

Revert "Operations with ReadOnlyFolderException are unrecoverable"

This reverts commit 2ca0ec64ad.
This commit is contained in:
M66B 2019-05-10 15:25:54 +02:00
parent 2f743bd424
commit 0d653b9cea

View file

@ -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");