mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 07:37:11 +02:00
parent
dec8264625
commit
9d8b80cbce
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ public:
|
|||
auto maybeError = std::optional<Error>();
|
||||
auto collecting = stream->events().start(
|
||||
[&](Value && value) { values.push_back(std::move(value)); },
|
||||
[](Error &&error) { maybeError = std::move(error); },
|
||||
[&](Error &&error) { maybeError = std::move(error); },
|
||||
[] {});
|
||||
std::move(initial) | start_to_stream(*stream, _lifetime);
|
||||
collecting.destroy();
|
||||
|
|
Loading…
Add table
Reference in a new issue