mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-24 06:22:59 +02:00
Show join requests in new forums layout.
This commit is contained in:
parent
f9acb5d19b
commit
08681ac1b9
1 changed files with 3 additions and 1 deletions
|
@ -109,7 +109,9 @@ rpl::producer<Ui::RequestsBarContent> RequestsBarContentByPeer(
|
|||
auto state = lifetime.make_state<State>(peer);
|
||||
|
||||
const auto pushNext = [=](bool now = false) {
|
||||
if ((!showInForum && peer->isForum())
|
||||
if ((!showInForum
|
||||
&& peer->isForum()
|
||||
&& !peer->asChannel()->useSubsectionTabs())
|
||||
|| (std::min(state->current.count, kRecentRequestsLimit)
|
||||
!= state->users.size())) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue