Fix display of Search members button in profile.

This commit is contained in:
John Preston 2017-07-23 12:17:23 +03:00
parent fa70bf9e0c
commit 5a1ec3c9e0

View File

@ -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()) {