mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-31 09:36:12 +00:00
Added right button for bots in list from recent dialogs.
This commit is contained in:
@@ -1443,7 +1443,9 @@ void Widget::updateSuggestions(anim::type animated) {
|
||||
}
|
||||
}, _suggestions->lifetime());
|
||||
|
||||
_suggestions->recentAppChosen(
|
||||
rpl::merge(
|
||||
_suggestions->openBotMainAppRequests(),
|
||||
_suggestions->recentAppChosen()
|
||||
) | rpl::start_with_next([=](not_null<PeerData*> peer) {
|
||||
if (const auto user = peer->asUser()) {
|
||||
if (const auto info = user->botInfo.get()) {
|
||||
|
||||
Reference in New Issue
Block a user