mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 00:23:56 +08: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