mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 18:21:42 -05:00
Fixed bot keyboard replies.
This commit is contained in:
parent
533a955dda
commit
ed4e572483
1 changed files with 1 additions and 1 deletions
|
@ -1081,7 +1081,7 @@ void MainWidget::sendMessage(const MessageToSend &message) {
|
|||
QString command = parseCommandFromMessage(history, textWithTags.text);
|
||||
HistoryItem *lastMessage = nullptr;
|
||||
|
||||
MsgId replyTo = (message.replyTo < 0) ? _history->replyToId() : 0;
|
||||
MsgId replyTo = (message.replyTo < 0) ? _history->replyToId() : message.replyTo;
|
||||
while (command.isEmpty() && textSplit(sendingText, sendingEntities, leftText, leftEntities, MaxMessageSize)) {
|
||||
FullMsgId newId(peerToChannel(history->peer->id), clientMsgId());
|
||||
uint64 randomId = rand_value<uint64>();
|
||||
|
|
Loading…
Add table
Reference in a new issue