mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Show join requests in new forums layout.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user