2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Added Api::SendOptions passing from TabbedSelector for inline results.

This commit is contained in:
23rd
2020-08-07 19:13:47 +03:00
committed by John Preston
parent 5b95585725
commit d1d153e886
9 changed files with 43 additions and 24 deletions

View File

@@ -417,7 +417,8 @@ rpl::producer<TabbedSelector::FileChosen> TabbedSelector::fileChosen() const {
: rpl::never<TabbedSelector::FileChosen>() | rpl::type_erased();
}
rpl::producer<not_null<PhotoData*>> TabbedSelector::photoChosen() const {
auto TabbedSelector::photoChosen() const
-> rpl::producer<TabbedSelector::PhotoChosen>{
return full() ? gifs()->photoChosen() : nullptr;
}