summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
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()));