mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-03 18:26:20 +00:00
Disabled Outlook workaround
This commit is contained in:
parent
59dc02a093
commit
0d783203e8
3 changed files with 2809 additions and 6 deletions
2801
app/schemas/eu.faircode.email.DB/244.json
Normal file
2801
app/schemas/eu.faircode.email.DB/244.json
Normal file
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
|
||||
|
||||
@Database(
|
||||
version = 243,
|
||||
version = 244,
|
||||
entities = {
|
||||
EntityIdentity.class,
|
||||
EntityAccount.class,
|
||||
|
@ -2464,6 +2464,13 @@ public abstract class DB extends RoomDatabase {
|
|||
db.execSQL("UPDATE account SET keep_alive_noop = 1" +
|
||||
" 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) {
|
||||
@Override
|
||||
public void migrate(@NonNull SupportSQLiteDatabase db) {
|
||||
|
|
|
@ -44,7 +44,6 @@
|
|||
name="Outlook"
|
||||
domain="outlook\\..*"
|
||||
link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14"
|
||||
noop="true"
|
||||
order="2"
|
||||
partial="false"
|
||||
useip="false">
|
||||
|
@ -61,7 +60,6 @@
|
|||
name="Live"
|
||||
domain="live\\..*"
|
||||
link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14"
|
||||
noop="true"
|
||||
order="3"
|
||||
partial="false"
|
||||
useip="false">
|
||||
|
@ -78,7 +76,6 @@
|
|||
name="Hotmail"
|
||||
domain="hotmail\\..*"
|
||||
link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14"
|
||||
noop="true"
|
||||
order="4"
|
||||
partial="false"
|
||||
useip="false">
|
||||
|
@ -109,7 +106,6 @@
|
|||
description="Outlook/Office 365"
|
||||
id="office365"
|
||||
link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14"
|
||||
noop="true"
|
||||
order="5"
|
||||
partial="false"
|
||||
useip="false">
|
||||
|
@ -146,7 +142,6 @@
|
|||
description="Outlook"
|
||||
id="outlook"
|
||||
link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14"
|
||||
noop="true"
|
||||
order="5"
|
||||
partial="false"
|
||||
useip="false">
|
||||
|
|
Loading…
Reference in a new issue