diff --git a/Telegram/SourceFiles/api/api_chat_participants.cpp b/Telegram/SourceFiles/api/api_chat_participants.cpp index ee5c9da64d..89edb5e32e 100644 --- a/Telegram/SourceFiles/api/api_chat_participants.cpp +++ b/Telegram/SourceFiles/api/api_chat_participants.cpp @@ -411,7 +411,7 @@ void ChatParticipants::requestBots(not_null channel) { _botsRequests.remove(channel); result.match([&](const MTPDchannels_channelParticipants &data) { const auto &[availableCount, list] = Parse(channel, data); - ApplyLastList(channel, availableCount, list); + ApplyBotsList(channel, availableCount, list); }, [](const MTPDchannels_channelParticipantsNotModified &) { LOG(("API Error: " "channels.channelParticipantsNotModified received!")); @@ -518,6 +518,7 @@ ChatParticipants::Parsed ChatParticipants::Parse( not_null channel, const TLMembers &data) { channel->owner().processUsers(data.vusers()); + channel->owner().processChats(data.vchats()); auto list = ParseList(data, channel); if (channel->mgInfo) { RefreshChannelAdmins(channel, list);