diff options
author | George Hazan <george.hazan@gmail.com> | 2024-01-13 12:34:18 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-01-13 12:36:05 +0300 |
commit | fba3c4711bff68cff5caba08cf8d4f5ea451fea2 (patch) | |
tree | d9d7a28f6cb2b6bca6b4da066149f1d0e0ee0ce3 /protocols/ICQ-WIM/src/server.cpp | |
parent | 7b1cd68e7075f5cf1dd821bed3ff07b5a5156182 (diff) |
ICQ: offline file URL isn't stored after sending file
Diffstat (limited to 'protocols/ICQ-WIM/src/server.cpp')
-rw-r--r-- | protocols/ICQ-WIM/src/server.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/ICQ-WIM/src/server.cpp b/protocols/ICQ-WIM/src/server.cpp index ba6a41728b..91a54ee05e 100644 --- a/protocols/ICQ-WIM/src/server.cpp +++ b/protocols/ICQ-WIM/src/server.cpp @@ -1148,9 +1148,10 @@ LBL_Error: JSONNode bundle, contents; contents.set_name("captionedContent");
contents << WCHAR_PARAM("caption", pTransfer->m_wszDescr) << WCHAR_PARAM("url", wszUrl);
- bundle << CHAR_PARAM("mediaType", "text") << CHAR_PARAM("text", "") << contents;
+ bundle << CHAR_PARAM("mediaType", "text") << WCHAR_PARAM("text", wszUrl) << contents;
CMStringW wszParts(FORMAT, L"[%s]", ptrW(json_write(&bundle)).get());
+ pTransfer->m_szHost = wszUrl;
if (!pTransfer->m_wszDescr.IsEmpty())
wszUrl += L" " + pTransfer->m_wszDescr;
|