From 864601c41faeec6dea78baf6c14f15c3ba164486 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 20 Apr 2023 11:42:18 +0300 Subject: Telegram: fix for Unicode file names --- protocols/JabberG/src/jabber_thread.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'protocols/JabberG/src/jabber_thread.cpp') 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; -- cgit v1.2.3