mirror of
https://github.com/chatmail/core.git
synced 2026-10-01 18:50:39 +03:00
refactor: stop setting chats.protected column explicitly
It is not used anymore and has a default value of 0.
This commit is contained in:
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user