1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-03 05:34:51 +00:00

Disable keep-alive-noop for Gmail again

This commit is contained in:
M66B 2024-10-08 08:46:28 +02:00
parent 9d343333fb
commit 67d4dd0212
2 changed files with 7 additions and 1 deletions

View file

@ -3046,6 +3046,13 @@ public abstract class DB extends RoomDatabase {
db.execSQL("UPDATE account SET keep_alive_noop = 1" +
" WHERE host = 'imap.gmail.com' AND pop = " + EntityAccount.TYPE_IMAP);
}
}).addMigrations(new Migration(300, 301) {
@Override
public void migrate(@NonNull SupportSQLiteDatabase db) {
logMigration(startVersion, endVersion);
db.execSQL("UPDATE account SET keep_alive_noop = 0" +
" WHERE host = 'imap.gmail.com' AND pop = " + EntityAccount.TYPE_IMAP);
}
}).addMigrations(new Migration(998, 999) {
@Override
public void migrate(@NonNull SupportSQLiteDatabase db) {

View file

@ -6,7 +6,6 @@
domain="gmail\\.com"
id="gmail"
link="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq6"
noop="true"
order="1"
type="com.google">
<imap