2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Fix build on macOS.

This commit is contained in:
John Preston
2020-09-01 23:56:25 +04:00
parent 95a579f25f
commit ce91caa820
13 changed files with 52 additions and 37 deletions

View File

@@ -448,7 +448,7 @@ auto PhotoData::createStreamingLoader(
return v::is<StorageFileLocation>(videoLocation().file().data)
? std::make_unique<Media::Streaming::LoaderMtproto>(
&session().downloader(),
std::get<StorageFileLocation>(videoLocation().file().data),
v::get<StorageFileLocation>(videoLocation().file().data),
videoByteSize(),
origin)
: nullptr;