mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 11:01:23 +01:00
Removed dependency on UIDPLUS
This commit is contained in:
@@ -76,7 +76,6 @@ import java.util.Properties;
|
||||
|
||||
import javax.mail.AuthenticationFailedException;
|
||||
import javax.mail.Folder;
|
||||
import javax.mail.MessagingException;
|
||||
import javax.mail.Session;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
@@ -476,9 +475,6 @@ public class FragmentAccount extends FragmentEx {
|
||||
throw ex;
|
||||
}
|
||||
|
||||
if (!istore.hasCapability("UIDPLUS"))
|
||||
throw new MessagingException(getContext().getString(R.string.title_no_uidplus));
|
||||
|
||||
result.idle = istore.hasCapability("IDLE");
|
||||
|
||||
for (Folder ifolder : istore.getDefaultFolder().list("*")) {
|
||||
@@ -695,9 +691,6 @@ public class FragmentAccount extends FragmentEx {
|
||||
} else
|
||||
throw ex;
|
||||
}
|
||||
|
||||
if (!istore.hasCapability("UIDPLUS"))
|
||||
throw new MessagingException(getContext().getString(R.string.title_no_uidplus));
|
||||
} finally {
|
||||
if (istore != null)
|
||||
istore.close();
|
||||
|
||||
Reference in New Issue
Block a user