mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 23:12:55 +00:00
Yahoo fixed the character encoding problems
This commit is contained in:
parent
0eec3d0b4c
commit
687c168cea
1 changed files with 8 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue