summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-09-07 11:35:33 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-09-07 11:35:33 +0300
commit1f02b06d272c67249537b0f812eeb7b32fd0bea1 (patch)
treebb24893bd57821a8545c637f890934f3e152b870 /protocols
parentfb67fd46492704bad3276ca65f90f86736ff3c1a (diff)
code cleaning
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Telegram/src/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Telegram/src/server.cpp b/protocols/Telegram/src/server.cpp
index b18114485d..878a24d61e 100644
--- a/protocols/Telegram/src/server.cpp
+++ b/protocols/Telegram/src/server.cpp
@@ -686,7 +686,7 @@ void CTelegramProto::ProcessMessageContent(TD::updateMessageContent *pObj)
}
auto msg = TD::make_object<TD::message>();
- msg->sender_id_ = std::move(TD::make_object<TD::messageSenderChat>(pObj->chat_id_));
+ msg->sender_id_ = TD::make_object<TD::messageSenderChat>(pObj->chat_id_);
msg->content_ = std::move(pObj->new_content_);
CMStringA szText(GetMessageText(pUser, msg.get()));