mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Yahoo fixed the character encoding problems
This commit is contained in:
@@ -68,7 +68,7 @@ import javax.mail.internet.InternetAddress;
|
||||
// https://developer.android.com/topic/libraries/architecture/room.html
|
||||
|
||||
@Database(
|
||||
version = 271,
|
||||
version = 272,
|
||||
entities = {
|
||||
EntityIdentity.class,
|
||||
EntityAccount.class,
|
||||
@@ -2761,6 +2761,13 @@ public abstract class DB extends RoomDatabase {
|
||||
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(271, 272) {
|
||||
@Override
|
||||
public void migrate(@NonNull SupportSQLiteDatabase db) {
|
||||
logMigration(startVersion, endVersion);
|
||||
db.execSQL("UPDATE account SET partial_fetch = 1, raw_fetch = 0" +
|
||||
" WHERE host = 'imap.mail.yahoo.com' OR host = 'imap.aol.com'");
|
||||
}
|
||||
}).addMigrations(new Migration(998, 999) {
|
||||
@Override
|
||||
public void migrate(@NonNull SupportSQLiteDatabase db) {
|
||||
|
||||
Reference in New Issue
Block a user