2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fix build with GCC.

This commit is contained in:
John Preston
2022-11-02 08:51:03 +04:00
parent 45cacc94c0
commit fdf4129e5e
28 changed files with 28 additions and 64 deletions

View File

@@ -3487,7 +3487,6 @@ void ApiWrap::sendMessage(MessageToSend &&message) {
HistoryItem *lastMessage = nullptr;
auto &histories = history->owner().histories();
const auto requestType = Data::Histories::RequestType::Send;
while (TextUtilities::CutPart(sending, left, MaxMessageSize)) {
auto newId = FullMsgId(