mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 23:57:16 +02:00
Fix display of Search members button in profile.
This commit is contained in:
parent
fa70bf9e0c
commit
5a1ec3c9e0
1 changed files with 6 additions and 0 deletions
|
@ -63,6 +63,12 @@ void ActionsWidget::notifyPeerUpdated(const Notify::PeerUpdate &update) {
|
|||
return true;
|
||||
}
|
||||
}
|
||||
if (update.flags & UpdateFlag::MembersChanged) {
|
||||
if (peer()->isMegagroup()) {
|
||||
// Search members button could change.
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
};
|
||||
if (needFullRefresh()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue