mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Added sending action when choosing sticker.
This commit is contained in:
@@ -479,6 +479,13 @@ auto TabbedSelector::inlineResultChosen() const
|
||||
return hasGifsTab() ? gifs()->inlineResultChosen() : nullptr;
|
||||
}
|
||||
|
||||
auto TabbedSelector::choosingStickerUpdated() const
|
||||
-> rpl::producer<TabbedSelector::Action>{
|
||||
return hasStickersTab()
|
||||
? stickers()->choosingUpdated()
|
||||
: rpl::never<Action>();
|
||||
}
|
||||
|
||||
rpl::producer<> TabbedSelector::cancelled() const {
|
||||
return hasGifsTab() ? gifs()->cancelRequests() : nullptr;
|
||||
}
|
||||
|
Reference in New Issue
Block a user