Skip to content

Commit

Permalink
follow-up to e9a3df9 - fix telegram send message reply regression
Browse files Browse the repository at this point in the history
  • Loading branch information
d99kris committed Nov 28, 2023
1 parent 1c7a75f commit df8c4a3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/common/src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@

#pragma once

#define NCHAT_VERSION "4.04"
#define NCHAT_VERSION "4.05"
4 changes: 2 additions & 2 deletions lib/tgchat/src/tgchat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -783,9 +783,9 @@ void TgChat::Impl::PerformRequest(std::shared_ptr<RequestMessage> p_RequestMessa
auto message_content = GetMessageText(sendMessageRequest->chatMessage.text);
send_message->input_message_content_ = std::move(message_content);
send_message->reply_to_ =
td::td_api::make_object<td::td_api::inputMessageReplyToMessage>(StrUtil::NumFromHex<int64_t>(sendMessageRequest->chatId),
td::td_api::make_object<td::td_api::inputMessageReplyToMessage>(0,
StrUtil::NumFromHex<int64_t>(sendMessageRequest->chatMessage.quotedId),
GetFormattedText(sendMessageRequest->chatMessage.quotedText));
nullptr);
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion src/nchat.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man.
.TH NCHAT "1" "November 2023" "nchat v4.04" "User Commands"
.TH NCHAT "1" "November 2023" "nchat v4.05" "User Commands"
.SH NAME
nchat \- ncurses chat
.SH SYNOPSIS
Expand Down

0 comments on commit df8c4a3

Please sign in to comment.