mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-29 16:58:07 +00:00
Allow editing my rank / other ranks.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user