mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-19 18:35:34 +00:00
Enabled raw fetch for Yahoo
This commit is contained in:
parent
2bd3efa149
commit
3ee444242a
2 changed files with 2911 additions and 1 deletions
2903
app/schemas/eu.faircode.email.DB/271.json
Normal file
2903
app/schemas/eu.faircode.email.DB/271.json
Normal file
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 = 270,
|
||||
version = 271,
|
||||
entities = {
|
||||
EntityIdentity.class,
|
||||
EntityAccount.class,
|
||||
|
@ -2754,6 +2754,13 @@ public abstract class DB extends RoomDatabase {
|
|||
db.execSQL("UPDATE account SET partial_fetch = 1" +
|
||||
" WHERE host = 'imap.mail.yahoo.com' OR host = 'imap.aol.com'");
|
||||
}
|
||||
}).addMigrations(new Migration(270, 271) {
|
||||
@Override
|
||||
public void migrate(@NonNull SupportSQLiteDatabase db) {
|
||||
logMigration(startVersion, endVersion);
|
||||
db.execSQL("UPDATE account SET partial_fetch = 0, raw_fetch = 1" +
|
||||
" WHERE host = 'imap.mail.yahoo.com' OR host = 'imap.aol.com'");
|
||||
}
|
||||
}).addMigrations(new Migration(998, 999) {
|
||||
@Override
|
||||
public void migrate(@NonNull SupportSQLiteDatabase db) {
|
||||
|
|
Loading…
Add table
Reference in a new issue