Allow editing my rank / other ranks.

This commit is contained in:
John Preston
2026-02-10 17:38:11 +04:00
parent 7969795a01
commit aa94491ad7
17 changed files with 437 additions and 116 deletions
@@ -357,6 +357,17 @@ rpl::producer<ChatAdminChange> Changes::chatAdminChanges() const {
return _chatAdminChanges.events();
}
void Changes::chatMemberRankChanged(
not_null<PeerData*> peer,
not_null<UserData*> user,
QString rank) {
_chatMemberRankChanges.fire({ peer, user, std::move(rank) });
}
rpl::producer<ChatMemberRankChange> Changes::chatMemberRankChanges() const {
return _chatMemberRankChanges.events();
}
void Changes::scheduleNotifications() {
if (!_notify) {
_notify = true;