2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Version 4.12: Fix build with GCC.

This commit is contained in:
John Preston
2023-11-30 20:59:58 +04:00
parent 98be0a69df
commit 0e2131e6eb
9 changed files with 2 additions and 14 deletions

View File

@@ -216,7 +216,6 @@ void ApplyBotsList(
const MTPmessages_Chats &chats) {
auto result = ChatParticipants::Channels();
std::vector<not_null<ChannelData*>>();
auto total = 0;
chats.match([&](const auto &data) {
const auto &list = data.vchats().v;
result.list.reserve(list.size());
@@ -583,7 +582,6 @@ void ChatParticipants::requestSelf(not_null<ChannelData*> channel) {
UserId inviter = -1,
TimeId inviteDate = 0,
bool inviteViaRequest = false) {
const auto dateChanged = (channel->inviteDate != inviteDate);
channel->inviter = inviter;
channel->inviteDate = inviteDate;
channel->inviteViaRequest = inviteViaRequest;