mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 00:23:56 +08:00
Use Media::Streaming in EditCaptionBox.
This commit is contained in:
@@ -66,8 +66,8 @@ std::shared_ptr<Streaming::Reader> Streaming::sharedReader(
|
||||
return nullptr;
|
||||
}
|
||||
auto result = std::make_shared<Reader>(
|
||||
&_owner->cacheBigFile(),
|
||||
std::move(loader));
|
||||
std::move(loader),
|
||||
&_owner->cacheBigFile());
|
||||
if (!PruneDestroyedAndSet(_readers, document, result)) {
|
||||
_readers.emplace_or_assign(document, result);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user