mirror of https://github.com/M66B/FairEmail.git
Outlook IMAP IDLE works again after more than three months
https://techcommunity.microsoft.com/t5/outlook/outlook-office-365-imap-idle-is-broken/m-p/3616242
This commit is contained in:
parent
209d73b9fb
commit
c626936bc3
File diff suppressed because it is too large
Load Diff
|
@ -67,7 +67,7 @@ import javax.mail.internet.InternetAddress;
|
|||
// https://developer.android.com/topic/libraries/architecture/room.html
|
||||
|
||||
@Database(
|
||||
version = 258,
|
||||
version = 259,
|
||||
entities = {
|
||||
EntityIdentity.class,
|
||||
EntityAccount.class,
|
||||
|
@ -2609,11 +2609,12 @@ public abstract class DB extends RoomDatabase {
|
|||
logMigration(startVersion, endVersion);
|
||||
defaultSearches(db, context);
|
||||
}
|
||||
}).addMigrations(new Migration(258, 257) {
|
||||
}).addMigrations(new Migration(258, 259) {
|
||||
@Override
|
||||
public void migrate(@NonNull SupportSQLiteDatabase db) {
|
||||
logMigration(startVersion, endVersion);
|
||||
defaultSearches(db, context);
|
||||
db.execSQL("UPDATE account SET keep_alive_noop = 0" +
|
||||
" WHERE host = 'outlook.office365.com' AND pop = " + EntityAccount.TYPE_IMAP);
|
||||
}
|
||||
}).addMigrations(new Migration(998, 999) {
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue