mirror of https://github.com/M66B/FairEmail.git
Revert "Operations with ReadOnlyFolderException are unrecoverable"
This reverts commit 2ca0ec64ad
.
This commit is contained in:
parent
2f743bd424
commit
0d653b9cea
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue