Register streaming loaders in Storage::Downloader.

This commit is contained in:
John Preston
2019-04-12 14:50:41 +04:00
parent cca906d383
commit b2895a39ed
11 changed files with 158 additions and 98 deletions
+1 -1
View File
@@ -1240,7 +1240,7 @@ auto DocumentData::createStreamingLoader(
}
return hasRemoteLocation()
? std::make_unique<Media::Streaming::LoaderMtproto>(
&session().api(),
&session().downloader(),
StorageFileLocation(
_dc,
session().userId(),