mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fix build on macOS.
This commit is contained in:
@@ -177,7 +177,7 @@ void UpdateCloudFile(
|
||||
auto cacheBytes = !data.bytes.isEmpty()
|
||||
? data.bytes
|
||||
: v::is<InMemoryLocation>(file.location.file().data)
|
||||
? std::get<InMemoryLocation>(file.location.file().data).bytes
|
||||
? v::get<InMemoryLocation>(file.location.file().data).bytes
|
||||
: QByteArray();
|
||||
if (!cacheBytes.isEmpty()) {
|
||||
if (const auto cacheKey = data.location.file().cacheKey()) {
|
||||
|
||||
Reference in New Issue
Block a user