deltachat-rpc-client: fix bug in Chat.send_message()

This commit is contained in:
adbenitez
2023-03-24 17:34:41 -04:00
parent 6f327c950d
commit 580ce5a9e9
2 changed files with 2 additions and 1 deletions

View File

@@ -5,6 +5,7 @@
### Changes
### Fixes
- deltachat-rpc-client: fix bug in `Chat.send_message()`: invalid `MessageData` field `quotedMsg` instead of `quotedMsgId`
## [1.112.0] - 2023-03-23

View File

@@ -126,7 +126,7 @@ class Chat:
"file": file,
"location": location,
"overrideSenderName": override_sender_name,
"quotedMsg": quoted_msg,
"quotedMsgId": quoted_msg,
}
msg_id = await self._rpc.send_msg(self.account.id, self.id, draft)
return Message(self.account, msg_id)