Save quote as draft

This commit is contained in:
Hocuri
2020-10-09 19:34:03 +02:00
committed by link2xt
parent eaec03142b
commit 990ab739cc

View File

@@ -335,8 +335,8 @@ impl ChatId {
context context
.sql .sql
.execute( .execute(
"INSERT INTO msgs (chat_id, from_id, timestamp, type, state, txt, param, hidden) "INSERT INTO msgs (chat_id, from_id, timestamp, type, state, txt, param, hidden, mime_in_reply_to)
VALUES (?,?,?, ?,?,?,?,?);", VALUES (?,?,?, ?,?,?,?,?,?);",
paramsv![ paramsv![
self, self,
DC_CONTACT_ID_SELF, DC_CONTACT_ID_SELF,
@@ -346,6 +346,7 @@ impl ChatId {
msg.text.as_deref().unwrap_or(""), msg.text.as_deref().unwrap_or(""),
msg.param.to_string(), msg.param.to_string(),
1, 1,
msg.in_reply_to,
], ],
) )
.await?; .await?;