mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Start stories viewer with ComposeControls.
This commit is contained in:
@@ -140,7 +140,7 @@ public:
|
||||
not_null<PhotoData*> photo) const override;
|
||||
|
||||
void processChosenSticker(
|
||||
ChatHelpers::FileChosen chosen) const override;
|
||||
ChatHelpers::FileChosen &&chosen) const override;
|
||||
|
||||
private:
|
||||
const base::weak_ptr<SessionController> _window;
|
||||
@@ -233,7 +233,7 @@ bool MainWindowShow::showMediaPreview(
|
||||
}
|
||||
|
||||
void MainWindowShow::processChosenSticker(
|
||||
ChatHelpers::FileChosen chosen) const {
|
||||
ChatHelpers::FileChosen &&chosen) const {
|
||||
if (const auto window = _window.get()) {
|
||||
Ui::PostponeCall(window, [=, chosen = std::move(chosen)]() mutable {
|
||||
window->stickerOrEmojiChosen(std::move(chosen));
|
||||
|
||||
Reference in New Issue
Block a user