2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-04 08:35:21 +00:00

Add blocked users list in supergroups profiles.

This commit is contained in:
John Preston
2017-04-07 18:07:26 +03:00
parent 34ab04cbe6
commit 38f94c63e9
11 changed files with 279 additions and 80 deletions

View File

@@ -717,6 +717,13 @@ void ChannelData::setAdminsCount(int newAdminsCount) {
}
}
void ChannelData::setKickedCount(int newKickedCount) {
if (_kickedCount != newKickedCount) {
_kickedCount = newKickedCount;
Notify::peerUpdatedDelayed(this, Notify::PeerUpdate::Flag::BlockedUsersChanged);
}
}
void ChannelData::flagsUpdated() {
if (isMegagroup()) {
if (!mgInfo) {