Added Outlook workaround again

This commit is contained in:
M66B 2022-09-28 07:31:34 +02:00
parent b257234dc5
commit d5528a462e
4 changed files with 2816 additions and 2 deletions

3
FAQ.md
View File

@ -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
* 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.
* 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="oneplus"></a>

File diff suppressed because it is too large Load Diff

View File

@ -68,7 +68,7 @@ import javax.mail.internet.InternetAddress;
// https://developer.android.com/topic/libraries/architecture/room.html
@Database(
version = 244,
version = 245,
entities = {
EntityIdentity.class,
EntityAccount.class,
@ -2470,6 +2470,13 @@ public abstract class DB extends RoomDatabase {
db.execSQL("UPDATE account SET keep_alive_noop = 0" +
" 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) {
@Override
public void migrate(@NonNull SupportSQLiteDatabase db) {

View File

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