refactor: stop setting chats.protected column explicitly

It is not used anymore and has a default value of 0.
This commit is contained in:
link2xt
2026-08-12 19:28:32 +00:00
committed by l
parent ae5b27fb69
commit d89a972a2c
+1 -1
View File
@@ -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,