diff options
Diffstat (limited to 'protocols/Telegram')
-rw-r--r-- | protocols/Telegram/src/server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Telegram/src/server.cpp b/protocols/Telegram/src/server.cpp index 7241123e9b..4226d8a413 100644 --- a/protocols/Telegram/src/server.cpp +++ b/protocols/Telegram/src/server.cpp @@ -258,7 +258,7 @@ void CTelegramProto::OnSendMessage(td::ClientManager::Response &response, void * int CTelegramProto::SendTextMessage(int64_t chatId, const char *pszMessage)
{
- int ret = m_iMsgId++;
+ int ret = ++m_iMsgId;
auto pContent = TD::make_object<TD::inputMessageText>();
pContent->text_ = TD::make_object<TD::formattedText>();
|