mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
version 0.9 stable prepared
This commit is contained in:
@@ -1904,7 +1904,7 @@ void MembersBox::resizeEvent(QResizeEvent *e) {
|
||||
}
|
||||
|
||||
void MembersBox::onLoaded() {
|
||||
if (!_done.isHidden() && _inner.channel()->amCreator() && (_inner.channel()->count < cMaxGroupCount() || !_inner.channel()->isPublic())) {
|
||||
if (!_done.isHidden() && _inner.channel()->amCreator() && (_inner.channel()->count < cMaxGroupCount() || !_inner.channel()->isPublic() || _inner.filter() == MembersFilterAdmins)) {
|
||||
_add.show();
|
||||
}
|
||||
}
|
||||
@@ -1944,7 +1944,7 @@ void MembersBox::hideAll() {
|
||||
|
||||
void MembersBox::showAll() {
|
||||
ItemListBox::showAll();
|
||||
if (_inner.channel()->amCreator() && _inner.isLoaded() && (_inner.channel()->count < cMaxGroupCount() || !_inner.channel()->isPublic())) {
|
||||
if (_inner.channel()->amCreator() && _inner.isLoaded() && (_inner.channel()->count < cMaxGroupCount() || !_inner.channel()->isPublic() || _inner.filter() == MembersFilterAdmins)) {
|
||||
_add.show();
|
||||
} else {
|
||||
_add.hide();
|
||||
|
Reference in New Issue
Block a user