2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35: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

@@ -928,6 +928,8 @@ void ApplyMegagroupAdmins(
const auto participantId = p.match([](
const MTPDchannelParticipantBanned &data) {
return peerFromMTP(data.vpeer());
}, [](const MTPDchannelParticipantLeft &data) {
return peerFromMTP(data.vpeer());
}, [](const auto &data) {
return peerFromUser(data.vuser_id());
});