mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-19 10:25:29 +00:00
Disable partial fetch for Yahoo
This commit is contained in:
parent
be5692ffd7
commit
94f04dcaf5
3 changed files with 2809 additions and 2 deletions
2801
app/schemas/eu.faircode.email.DB/250.json
Normal file
2801
app/schemas/eu.faircode.email.DB/250.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 = 249,
|
||||
version = 250,
|
||||
entities = {
|
||||
EntityIdentity.class,
|
||||
EntityAccount.class,
|
||||
|
@ -2500,6 +2500,11 @@ public abstract class DB extends RoomDatabase {
|
|||
Fts5DbHelper.delete(context);
|
||||
db.execSQL("UPDATE `message` SET fts = 0");
|
||||
}
|
||||
}).addMigrations(new Migration(249, 250) {
|
||||
@Override
|
||||
public void migrate(@NonNull SupportSQLiteDatabase db) {
|
||||
db.execSQL("UPDATE `account` SET partial_fetch = 0 WHERE host = 'imap.mail.yahoo.com'");
|
||||
}
|
||||
}).addMigrations(new Migration(998, 999) {
|
||||
@Override
|
||||
public void migrate(@NonNull SupportSQLiteDatabase db) {
|
||||
|
|
|
@ -214,7 +214,8 @@
|
|||
domain="yahoo\\..*"
|
||||
id="yahoo"
|
||||
link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq88"
|
||||
order="7">
|
||||
order="7"
|
||||
partial="false">
|
||||
<imap
|
||||
host="imap.mail.yahoo.com"
|
||||
port="993"
|
||||
|
|
Loading…
Add table
Reference in a new issue