Disabled Outlook workaround

pull/209/head
M66B 2 years ago
parent 59dc02a093
commit 0d783203e8

File diff suppressed because it is too large Load Diff

@ -72,7 +72,7 @@ import io.requery.android.database.sqlite.SQLiteDatabase;
// https://developer.android.com/topic/libraries/architecture/room.html // https://developer.android.com/topic/libraries/architecture/room.html
@Database( @Database(
version = 243, version = 244,
entities = { entities = {
EntityIdentity.class, EntityIdentity.class,
EntityAccount.class, EntityAccount.class,
@ -2464,6 +2464,13 @@ public abstract class DB extends RoomDatabase {
db.execSQL("UPDATE account SET keep_alive_noop = 1" + db.execSQL("UPDATE account SET keep_alive_noop = 1" +
" WHERE host = 'outlook.office365.com' AND pop = " + EntityAccount.TYPE_IMAP); " WHERE host = 'outlook.office365.com' AND pop = " + EntityAccount.TYPE_IMAP);
} }
}).addMigrations(new Migration(243, 244) {
@Override
public void migrate(@NonNull SupportSQLiteDatabase db) {
logMigration(startVersion, endVersion);
db.execSQL("UPDATE account SET keep_alive_noop = 0" +
" WHERE host = 'outlook.office365.com' AND pop = " + EntityAccount.TYPE_IMAP);
}
}).addMigrations(new Migration(998, 999) { }).addMigrations(new Migration(998, 999) {
@Override @Override
public void migrate(@NonNull SupportSQLiteDatabase db) { public void migrate(@NonNull SupportSQLiteDatabase db) {

@ -44,7 +44,6 @@
name="Outlook" name="Outlook"
domain="outlook\\..*" domain="outlook\\..*"
link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14" link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14"
noop="true"
order="2" order="2"
partial="false" partial="false"
useip="false"> useip="false">
@ -61,7 +60,6 @@
name="Live" name="Live"
domain="live\\..*" domain="live\\..*"
link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14" link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14"
noop="true"
order="3" order="3"
partial="false" partial="false"
useip="false"> useip="false">
@ -78,7 +76,6 @@
name="Hotmail" name="Hotmail"
domain="hotmail\\..*" domain="hotmail\\..*"
link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14" link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14"
noop="true"
order="4" order="4"
partial="false" partial="false"
useip="false"> useip="false">
@ -109,7 +106,6 @@
description="Outlook/Office 365" description="Outlook/Office 365"
id="office365" id="office365"
link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14" link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14"
noop="true"
order="5" order="5"
partial="false" partial="false"
useip="false"> useip="false">
@ -146,7 +142,6 @@
description="Outlook" description="Outlook"
id="outlook" id="outlook"
link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14" link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14"
noop="true"
order="5" order="5"
partial="false" partial="false"
useip="false"> useip="false">

Loading…
Cancel
Save