mirror of https://github.com/M66B/FairEmail.git
Workaround "virus" self Outlook message
This commit is contained in:
parent
51f1b0b8f4
commit
79281e85fe
File diff suppressed because it is too large
Load Diff
|
@ -65,7 +65,7 @@ import static eu.faircode.email.ServiceAuthenticator.AUTH_TYPE_PASSWORD;
|
|||
// https://developer.android.com/topic/libraries/architecture/room.html
|
||||
|
||||
@Database(
|
||||
version = 201,
|
||||
version = 202,
|
||||
entities = {
|
||||
EntityIdentity.class,
|
||||
EntityAccount.class,
|
||||
|
@ -2046,6 +2046,12 @@ public abstract class DB extends RoomDatabase {
|
|||
Log.i("DB migration from version " + startVersion + " to " + endVersion);
|
||||
db.execSQL("ALTER TABLE `message` ADD COLUMN `bimi_selector` TEXT");
|
||||
}
|
||||
}).addMigrations(new Migration(201, 202) {
|
||||
@Override
|
||||
public void migrate(@NonNull SupportSQLiteDatabase db) {
|
||||
Log.i("DB migration from version " + startVersion + " to " + endVersion);
|
||||
db.execSQL("UPDATE identity SET use_ip = 0 WHERE host = 'smtp.office365.com'");
|
||||
}
|
||||
}).addMigrations(new Migration(998, 999) {
|
||||
@Override
|
||||
public void migrate(@NonNull SupportSQLiteDatabase db) {
|
||||
|
|
|
@ -23,7 +23,8 @@
|
|||
domain="outlook\\..*"
|
||||
link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14"
|
||||
order="2"
|
||||
partial="false">
|
||||
partial="false"
|
||||
useip="false">
|
||||
<imap
|
||||
host="outlook.office365.com"
|
||||
port="993"
|
||||
|
@ -38,7 +39,8 @@
|
|||
domain="live\\..*"
|
||||
link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14"
|
||||
order="3"
|
||||
partial="false">
|
||||
partial="false"
|
||||
useip="false">
|
||||
<imap
|
||||
host="outlook.office365.com"
|
||||
port="993"
|
||||
|
@ -53,7 +55,8 @@
|
|||
domain="hotmail\\..*"
|
||||
link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14"
|
||||
order="4"
|
||||
partial="false">
|
||||
partial="false"
|
||||
useip="false">
|
||||
<imap
|
||||
host="outlook.office365.com"
|
||||
port="993"
|
||||
|
@ -82,7 +85,8 @@
|
|||
id="office365"
|
||||
link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq14"
|
||||
order="5"
|
||||
partial="false">
|
||||
partial="false"
|
||||
useip="false">
|
||||
<imap
|
||||
host="outlook.office365.com"
|
||||
port="993"
|
||||
|
|
Loading…
Reference in New Issue