Workaround "virus" self Outlook message

pull/200/head
M66B 3 years ago
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 // https://developer.android.com/topic/libraries/architecture/room.html
@Database( @Database(
version = 201, version = 202,
entities = { entities = {
EntityIdentity.class, EntityIdentity.class,
EntityAccount.class, EntityAccount.class,
@ -2046,6 +2046,12 @@ public abstract class DB extends RoomDatabase {
Log.i("DB migration from version " + startVersion + " to " + endVersion); Log.i("DB migration from version " + startVersion + " to " + endVersion);
db.execSQL("ALTER TABLE `message` ADD COLUMN `bimi_selector` TEXT"); 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) { }).addMigrations(new Migration(998, 999) {
@Override @Override
public void migrate(@NonNull SupportSQLiteDatabase db) { public void migrate(@NonNull SupportSQLiteDatabase db) {

@ -23,7 +23,8 @@
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"
order="2" order="2"
partial="false"> partial="false"
useip="false">
<imap <imap
host="outlook.office365.com" host="outlook.office365.com"
port="993" port="993"
@ -38,7 +39,8 @@
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"
order="3" order="3"
partial="false"> partial="false"
useip="false">
<imap <imap
host="outlook.office365.com" host="outlook.office365.com"
port="993" port="993"
@ -53,7 +55,8 @@
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"
order="4" order="4"
partial="false"> partial="false"
useip="false">
<imap <imap
host="outlook.office365.com" host="outlook.office365.com"
port="993" port="993"
@ -82,7 +85,8 @@
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"
order="5" order="5"
partial="false"> partial="false"
useip="false">
<imap <imap
host="outlook.office365.com" host="outlook.office365.com"
port="993" port="993"

Loading…
Cancel
Save