mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-01 01:45:06 +00:00
Added initial implementation of right button for bots in dialogs list.
This commit is contained in:
@@ -478,6 +478,12 @@ Widget::Widget(
|
||||
) | rpl::start_with_next([=](const ChosenRow &row) {
|
||||
chosenRow(row);
|
||||
}, lifetime());
|
||||
_inner->openBotMainAppRequests(
|
||||
) | rpl::start_with_next([=](UserId userId) {
|
||||
if (const auto user = session().data().user(userId)) {
|
||||
openBotMainApp(user);
|
||||
}
|
||||
}, lifetime());
|
||||
|
||||
_scroll->geometryChanged(
|
||||
) | rpl::start_with_next(crl::guard(_inner, [=] {
|
||||
|
||||
Reference in New Issue
Block a user