Show join requests in new forums layout.

This commit is contained in:
John Preston 2025-06-05 13:39:33 +04:00
parent f9acb5d19b
commit 08681ac1b9

View file

@ -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;