2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-02 23:45:44 +00:00

Top peer realtime badges.

This commit is contained in:
John Preston
2024-04-11 12:41:32 +04:00
parent b259c566b7
commit 56e28feb00
7 changed files with 205 additions and 20 deletions

View File

@@ -1108,7 +1108,7 @@ void Widget::updateSuggestions(anim::type animated) {
} else if (suggest && !_suggestions) {
_suggestions = std::make_unique<Suggestions>(
this,
rpl::single(TopPeersContent(&session())));
TopPeersContent(&session()));
_suggestions->topPeerChosen(
) | rpl::start_with_next([=](PeerId id) {