diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2017-02-08 18:11:59 +0100 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2017-02-08 18:11:59 +0100 |
commit | 5b00b966c446a17b23e5ca38504c829e064e08b8 (patch) | |
tree | 66269f79289713afaaa7e46a4c358080890cd5c7 | |
parent | 4be8f7dd6280136b087a3f49b9c8586cf16dd82c (diff) | |
parent | 9e142bc40671e24c6b6bf1f71806048d2570c955 (diff) |
Merge branch 'master' of https://github.com/miranda-ng/miranda-ng
-rw-r--r-- | protocols/Discord/src/proto.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/protocols/Discord/src/proto.cpp b/protocols/Discord/src/proto.cpp index bf13472471..5821aa1055 100644 --- a/protocols/Discord/src/proto.cpp +++ b/protocols/Discord/src/proto.cpp @@ -478,9 +478,6 @@ void CDiscordProto::SendFileThread(void *param) bin2hex(szRandom, _countof(szRandom), szRandomText); CMStringA szBoundary(FORMAT, "----Boundary%s", szRandomText); - if (p->wszDescr.IsEmpty()) - p->wszDescr = L"blabla"; - CMStringA szUrl(FORMAT, "/channels/%lld/messages", getId(p->hContact, DB_KEY_CHANNELID)); AsyncHttpRequest *pReq = new AsyncHttpRequest(this, REQUEST_POST, szUrl, &CDiscordProto::OnReceiveFile); pReq->AddHeader("Content-Type", CMStringA("multipart/form-data; boundary=" + szBoundary)); |