mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Display custom admin ranks in messages.
This commit is contained in:
@@ -1100,7 +1100,7 @@ void History::applyServiceChanges(
|
||||
mgInfo->botStatus = -1;
|
||||
}
|
||||
}
|
||||
Data::ChannelAdminChanges(megagroup).feed(uid, false);
|
||||
Data::ChannelAdminChanges(megagroup).remove(uid);
|
||||
}
|
||||
} break;
|
||||
|
||||
@@ -3093,8 +3093,7 @@ void History::clearUpTill(MsgId availableMinId) {
|
||||
owner().sendHistoryChangeNotifications();
|
||||
}
|
||||
|
||||
void History::applyGroupAdminChanges(
|
||||
const base::flat_map<UserId, bool> &changes) {
|
||||
void History::applyGroupAdminChanges(const base::flat_set<UserId> &changes) {
|
||||
for (const auto &block : blocks) {
|
||||
for (const auto &message : block->messages) {
|
||||
message->data()->applyGroupAdminChanges(changes);
|
||||
|
Reference in New Issue
Block a user