mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-09-09 13:33:01 +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);
|
auto state = lifetime.make_state<State>(peer);
|
||||||
|
|
||||||
const auto pushNext = [=](bool now = false) {
|
const auto pushNext = [=](bool now = false) {
|
||||||
if ((!showInForum && peer->isForum())
|
if ((!showInForum
|
||||||
|
&& peer->isForum()
|
||||||
|
&& !peer->asChannel()->useSubsectionTabs())
|
||||||
|| (std::min(state->current.count, kRecentRequestsLimit)
|
|| (std::min(state->current.count, kRecentRequestsLimit)
|
||||||
!= state->users.size())) {
|
!= state->users.size())) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue