Added Outlook workaround again

pull/209/head
M66B 2 years ago
parent b257234dc5
commit d5528a462e

@ -120,7 +120,8 @@ Related questions:
* Language detection [is not working anymore](https://issuetracker.google.com/issues/173337263) on Pixel devices with (upgraded to?) Android 11 * Language detection [is not working anymore](https://issuetracker.google.com/issues/173337263) on Pixel devices with (upgraded to?) Android 11
* A [bug in OpenKeychain](https://github.com/open-keychain/open-keychain/issues/2688) causes invalid PGP signatures when using a hardware token. * A [bug in OpenKeychain](https://github.com/open-keychain/open-keychain/issues/2688) causes invalid PGP signatures when using a hardware token.
* A [bug in Crowdin](https://crowdin.com/messages/536694) blocks updating FAQ.md (this text) for translation. * A [bug in Crowdin](https://crowdin.com/messages/536694) blocks updating FAQ.md (this text) for translation.
* Search suggestions causes the keyboard losing focus on Android 12L * Search suggestions causes the keyboard losing focus on Android 12L.
* [A bug](https://techcommunity.microsoft.com/t5/outlook/outlook-office-365-imap-idle-is-broken/m-p/3616242) in the Outlook IMAP server causes delayed new message notifications.
<a name="redmi"></a> <a name="redmi"></a>
<a name="oneplus"></a> <a name="oneplus"></a>

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 // https://developer.android.com/topic/libraries/architecture/room.html
@Database( @Database(
version = 244, version = 245,
entities = { entities = {
EntityIdentity.class, EntityIdentity.class,
EntityAccount.class, EntityAccount.class,
@ -2470,6 +2470,13 @@ public abstract class DB extends RoomDatabase {
db.execSQL("UPDATE account SET keep_alive_noop = 0" + db.execSQL("UPDATE account SET keep_alive_noop = 0" +
" WHERE host = 'outlook.office365.com' AND pop = " + EntityAccount.TYPE_IMAP); " WHERE host = 'outlook.office365.com' AND pop = " + EntityAccount.TYPE_IMAP);
} }
}).addMigrations(new Migration(244, 245) {
@Override
public void migrate(@NonNull SupportSQLiteDatabase db) {
logMigration(startVersion, endVersion);
db.execSQL("UPDATE account SET keep_alive_noop = 1" +
" WHERE host = 'outlook.office365.com' AND pop = " + EntityAccount.TYPE_IMAP);
}
}).addMigrations(new Migration(998, 999) { }).addMigrations(new Migration(998, 999) {
@Override @Override
public void migrate(@NonNull SupportSQLiteDatabase db) { public void migrate(@NonNull SupportSQLiteDatabase db) {

@ -44,6 +44,7 @@
name="Outlook" name="Outlook"
domain="outlook\\..*" domain="outlook\\..*"
link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14" link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14"
noop="true"
order="2" order="2"
partial="false" partial="false"
useip="false"> useip="false">
@ -60,6 +61,7 @@
name="Live" name="Live"
domain="live\\..*" domain="live\\..*"
link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14" link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14"
noop="true"
order="3" order="3"
partial="false" partial="false"
useip="false"> useip="false">
@ -76,6 +78,7 @@
name="Hotmail" name="Hotmail"
domain="hotmail\\..*" domain="hotmail\\..*"
link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14" link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14"
noop="true"
order="4" order="4"
partial="false" partial="false"
useip="false"> useip="false">
@ -106,6 +109,7 @@
description="Outlook/Office 365" description="Outlook/Office 365"
id="office365" id="office365"
link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14" link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14"
noop="true"
order="5" order="5"
partial="false" partial="false"
useip="false"> useip="false">
@ -142,6 +146,7 @@
description="Outlook" description="Outlook"
id="outlook" id="outlook"
link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14" link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14"
noop="true"
order="5" order="5"
partial="false" partial="false"
useip="false"> useip="false">

Loading…
Cancel
Save