Nachrichten: kein Pushover wenn Empfänger aktiv im Chat

This commit is contained in:
2026-05-30 01:33:15 +02:00
parent 2c521b67b7
commit eed4f293bc
3 changed files with 55 additions and 2 deletions

View File

@@ -254,6 +254,8 @@ if (!userCols2.includes('last_active_at'))
db.exec("ALTER TABLE users ADD COLUMN last_active_at DATETIME DEFAULT NULL");
if (!userCols2.includes('hidden'))
db.exec("ALTER TABLE users ADD COLUMN hidden INTEGER NOT NULL DEFAULT 0");
if (!userCols2.includes('chat_active_at'))
db.exec("ALTER TABLE users ADD COLUMN chat_active_at DATETIME DEFAULT NULL");
// ── Login-Sicherheit ──────────────────────────────────────────────────────────
// Spalten für Account-Lockout in users-Tabelle