Enable partial fetch for Yahoo/AOL

This commit is contained in:
M66B
2023-02-18 20:03:08 +01:00
parent 1d59293ddc
commit aaef3bbdb1
2 changed files with 4 additions and 7 deletions

View File

@@ -2751,7 +2751,7 @@ public abstract class DB extends RoomDatabase {
@Override
public void migrate(@NonNull SupportSQLiteDatabase db) {
logMigration(startVersion, endVersion);
db.execSQL("UPDATE account SET raw_fetch = 1" +
db.execSQL("UPDATE account SET partial_fetch = 1" +
" WHERE host = 'imap.mail.yahoo.com' OR host = 'imap.aol.com'");
}
}).addMigrations(new Migration(998, 999) {