mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-29 11:15:51 +00:00
Revert "Operations with ReadOnlyFolderException are unrecoverable"
This reverts commit 2ca0ec64ad
.
This commit is contained in:
parent
2f743bd424
commit
0d653b9cea
1 changed files with 0 additions and 2 deletions
|
@ -90,7 +90,6 @@ import javax.mail.FolderNotFoundException;
|
||||||
import javax.mail.Message;
|
import javax.mail.Message;
|
||||||
import javax.mail.MessageRemovedException;
|
import javax.mail.MessageRemovedException;
|
||||||
import javax.mail.MessagingException;
|
import javax.mail.MessagingException;
|
||||||
import javax.mail.ReadOnlyFolderException;
|
|
||||||
import javax.mail.SendFailedException;
|
import javax.mail.SendFailedException;
|
||||||
import javax.mail.Session;
|
import javax.mail.Session;
|
||||||
import javax.mail.Store;
|
import javax.mail.Store;
|
||||||
|
@ -262,7 +261,6 @@ class Core {
|
||||||
ex instanceof MessageRemovedException ||
|
ex instanceof MessageRemovedException ||
|
||||||
ex instanceof FolderNotFoundException ||
|
ex instanceof FolderNotFoundException ||
|
||||||
ex instanceof IllegalArgumentException ||
|
ex instanceof IllegalArgumentException ||
|
||||||
ex instanceof ReadOnlyFolderException ||
|
|
||||||
ex.getCause() instanceof CommandFailedException) {
|
ex.getCause() instanceof CommandFailedException) {
|
||||||
Log.w("Unrecoverable");
|
Log.w("Unrecoverable");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue