fix(client): do not quote simple replies
This commit is contained in:
parent
ba3d02ac94
commit
945872e2fd
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ export async function _processCommonSendParameters(
|
|||
let peer = await resolvePeer(client, chatId)
|
||||
|
||||
let replyTo = normalizeMessageId(params.replyTo)
|
||||
const replyToPeer = typeof params.replyTo === 'number' ? peer : params.replyTo?.chat.inputPeer
|
||||
const replyToPeer = typeof params.replyTo === 'number' ? undefined : params.replyTo?.chat.inputPeer
|
||||
|
||||
if (params.commentTo) {
|
||||
[peer, replyTo] = await _getDiscussionMessage(client, peer, normalizeMessageId(params.commentTo)!)
|
||||
|
|
Loading…
Reference in a new issue