M-net update limited by port number

This commit is contained in:
M66B 2024-02-20 15:32:39 +01:00
parent 37c2638c52
commit 009dea4a6b
1 changed files with 2 additions and 2 deletions

View File

@ -529,8 +529,8 @@ public abstract class DB extends RoomDatabase {
"account",
SQLiteDatabase.CONFLICT_ABORT,
cv,
"host = ?",
new Object[]{"mail.m-online.net"});
"host = ? AND (port = ? OR port = ?)",
new Object[]{"mail.m-online.net", 143, 993});
if (rows > 0)
EntityLog.log(context, "M-net updated");
} catch (Throwable ex) {