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:
M66B 2022-12-20 20:17:34 +01:00
parent 209d73b9fb
commit c626936bc3
2 changed files with 2841 additions and 3 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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