summaryrefslogtreecommitdiff
path: root/src/core/stdfile
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-04-25 20:00:55 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-04-25 20:00:55 +0300
commit9ea18ddc413a8c1eae6c32fe16e162a1998079c1 (patch)
tree0fcf08adc603e6420fae94bf79d7ede357b96edb /src/core/stdfile
parentc104e058686d3d36bc9b15d84bfd9b84740cd3fa (diff)
Telegram: offline files to be links from the very beginning
Diffstat (limited to 'src/core/stdfile')
-rw-r--r--src/core/stdfile/src/file.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/stdfile/src/file.cpp b/src/core/stdfile/src/file.cpp
index b1f8f3670f..652da6a36c 100644
--- a/src/core/stdfile/src/file.cpp
+++ b/src/core/stdfile/src/file.cpp
@@ -355,6 +355,7 @@ static INT_PTR Proto_RecvFileT(WPARAM, LPARAM lParam)
}
DB::FILE_BLOB blob(wszFiles, bUtf ? Utf2T(pre->descr.a).get() : _A2T(pre->descr.a));
+ CallProtoService(dbei.szModule, PS_PRECREATE_OFFLINEFILE, WPARAM(&blob), pre->lParam);
blob.write(dbei);
}