2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Version 2.7.1: Fix channels ban in admin log.

This commit is contained in:
John Preston
2021-03-20 18:19:31 +04:00
parent 26d97a3636
commit a82d1e863e
7 changed files with 49 additions and 24 deletions

View File

@@ -1070,6 +1070,8 @@ void PeerMenuAddChannelMembers(
) | ranges::views::transform([](const MTPChannelParticipant &p) {
return p.match([](const MTPDchannelParticipantBanned &data) {
return peerFromMTP(data.vpeer());
}, [](const MTPDchannelParticipantLeft &data) {
return peerFromMTP(data.vpeer());
}, [](const auto &data) {
return peerFromUser(data.vuser_id());
});