summaryrefslogtreecommitdiff
path: root/protocols/Discord
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-02-08 19:27:36 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-02-08 19:27:36 +0300
commit9e142bc40671e24c6b6bf1f71806048d2570c955 (patch)
tree824b34f1784ca8466c5ce0ebccd33af1d402490f /protocols/Discord
parent2f5ce75be367aebc0e0790cac148c670462e60cf (diff)
no need in that blablabla
Diffstat (limited to 'protocols/Discord')
-rw-r--r--protocols/Discord/src/proto.cpp3
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));