diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/ICQ-WIM/src/proto.cpp | 2 | ||||
-rw-r--r-- | protocols/ICQ-WIM/src/server.cpp | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/protocols/ICQ-WIM/src/proto.cpp b/protocols/ICQ-WIM/src/proto.cpp index 2e2d866938..2cd7f50e4b 100644 --- a/protocols/ICQ-WIM/src/proto.cpp +++ b/protocols/ICQ-WIM/src/proto.cpp @@ -192,7 +192,7 @@ void CIcqProto::OnSendOfflineFile(DB::EventInfo &dbei, DB::FILE_BLOB &blob, void p++;
blob.setName(p);
- blob.setUrl("boo");
+ blob.setUrl(ft->m_szHost);
blob.complete(ft->pfts.currentFileSize);
blob.setLocalName(ft->m_wszFileName);
}
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;
|