mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 04:46:29 +03:00
Save quote as draft
This commit is contained in:
@@ -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?;
|
||||||
|
|||||||
Reference in New Issue
Block a user