diff options
author | George Hazan <ghazan@miranda.im> | 2023-04-20 11:42:18 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-04-20 11:42:18 +0300 |
commit | 864601c41faeec6dea78baf6c14f15c3ba164486 (patch) | |
tree | 21595d02a9ab7e849109a14988b90a4e0dd96239 /protocols/JabberG/src/jabber_thread.cpp | |
parent | f45ed26f105ce9cccf19c54690695fb304ca7c57 (diff) |
Telegram: fix for Unicode file names
Diffstat (limited to 'protocols/JabberG/src/jabber_thread.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_thread.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp index 5e4fae32b9..5ee69b908e 100644 --- a/protocols/JabberG/src/jabber_thread.cpp +++ b/protocols/JabberG/src/jabber_thread.cpp @@ -1342,6 +1342,7 @@ void CJabberProto::OnProcessMessage(const TiXmlElement *node, ThreadData *info) ft->std.szCurrentFile.w = mir_utf8decodeW(szName);
PROTORECVFILE pre = {};
+ pre.dwFlags = PRFF_UTF;
pre.fileCount = 1;
pre.timestamp = time(0);
pre.files.a = &pszName;
|