From d89a972a2c6aed89c5c7ff303e85866c0ec75502 Mon Sep 17 00:00:00 2001 From: link2xt Date: Tue, 11 Aug 2026 10:22:14 +0000 Subject: [PATCH] refactor: stop setting chats.protected column explicitly It is not used anymore and has a default value of 0. --- src/chat.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat.rs b/src/chat.rs index 38070b8c9..7f51518a2 100644 --- a/src/chat.rs +++ b/src/chat.rs @@ -298,7 +298,7 @@ impl ChatId { let timestamp = cmp::min(timestamp, time()); let row_id = context.sql.insert( - "INSERT INTO chats (type, name, name_normalized, grpid, blocked, created_timestamp, protected, param) VALUES(?, ?, ?, ?, ?, ?, 0, ?)", + "INSERT INTO chats (type, name, name_normalized, grpid, blocked, created_timestamp, param) VALUES(?, ?, ?, ?, ?, ?, ?)", ( chattype, &grpname,