mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-14 03:01:15 +00:00
Fix display of Search members button in profile.
This commit is contained in:
parent
fa70bf9e0c
commit
5a1ec3c9e0
@ -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…
Reference in New Issue
Block a user