Enabled NOOP for Yahoo/AOL

pull/210/head
M66B 2 years ago
parent 46583b0f91
commit e7944fdd44

File diff suppressed because it is too large Load Diff

@ -68,7 +68,7 @@ import javax.mail.internet.InternetAddress;
// https://developer.android.com/topic/libraries/architecture/room.html
@Database(
version = 253,
version = 254,
entities = {
EntityIdentity.class,
EntityAccount.class,
@ -2575,6 +2575,14 @@ public abstract class DB extends RoomDatabase {
}
editor.apply();
}
}).addMigrations(new Migration(253, 254) {
@Override
public void migrate(@NonNull SupportSQLiteDatabase db) {
logMigration(startVersion, endVersion);
db.execSQL("UPDATE account SET keep_alive_noop = 1" +
" WHERE (host = 'imap.mail.yahoo.com' OR host = 'imap.aol.com')" +
" AND pop = " + EntityAccount.TYPE_IMAP);
}
}).addMigrations(new Migration(998, 999) {
@Override
public void migrate(@NonNull SupportSQLiteDatabase db) {

@ -260,6 +260,7 @@
enabled="false"
id="yahoo"
link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq88"
noop="true"
order="7"
partial="false">
<imap
@ -293,6 +294,7 @@
domain="yahoo\\..*"
id="yahoo2"
link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq88"
noop="true"
order="7"
partial="false">
<imap
@ -943,7 +945,8 @@
documentation="For AOL you need to use an app password instead of your normal account password, please &lt;a href=&quot;https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq88&quot;&gt;see here&lt;/a&gt;."
domain="aol\\..*,compuserve\\.com"
id="aol"
link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq88">
link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq88"
noop="true">
<imap
host="imap.aol.com"
port="993"

Loading…
Cancel
Save