mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Fix crashes in MainWidget and ApiWrap.
This commit is contained in:
@@ -1023,7 +1023,7 @@ void PeerMenuAddChannelMembers(
|
||||
return;
|
||||
}
|
||||
const auto api = &channel->session().api();
|
||||
api->requestChannelMembersForAdd(channel, [=](
|
||||
api->requestChannelMembersForAdd(channel, crl::guard(navigation, [=](
|
||||
const MTPchannels_ChannelParticipants &result) {
|
||||
api->parseChannelParticipants(channel, result, [&](
|
||||
int availableCount,
|
||||
@@ -1045,7 +1045,7 @@ void PeerMenuAddChannelMembers(
|
||||
channel,
|
||||
{ already.begin(), already.end() });
|
||||
});
|
||||
});
|
||||
}));
|
||||
}
|
||||
|
||||
void PeerMenuAddMuteAction(
|
||||
|
Reference in New Issue
Block a user