mirror of https://github.com/procxx/kepka.git
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;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (update.flags & UpdateFlag::MembersChanged) {
|
||||||
|
if (peer()->isMegagroup()) {
|
||||||
|
// Search members button could change.
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
if (needFullRefresh()) {
|
if (needFullRefresh()) {
|
||||||
|
|
Loading…
Reference in New Issue