2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 22:55:11 +00:00

chat admin checks improved

This commit is contained in:
John Preston
2015-11-02 00:49:25 -05:00
parent 04b0932780
commit 6d7c55e7cc
6 changed files with 88 additions and 69 deletions

View File

@@ -378,6 +378,7 @@ public:
void invalidateParticipants() {
participants = ChatData::Participants();
admins = ChatData::Admins();
flags &= ~MTPDchat::flag_admin;
invitedByMe = ChatData::InvitedByMe();
botStatus = 0;
}