mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Working code for streaming downloader.
This commit is contained in:
@@ -871,9 +871,8 @@ void DocumentData::save(
|
||||
id,
|
||||
_dc,
|
||||
origin,
|
||||
(saveToCache()
|
||||
? std::make_optional(Data::DocumentCacheKey(_dc, id))
|
||||
: std::nullopt),
|
||||
Data::DocumentCacheKey(_dc, id),
|
||||
mediaKey(),
|
||||
std::move(reader),
|
||||
toFile,
|
||||
size,
|
||||
|
Reference in New Issue
Block a user