From 9e142bc40671e24c6b6bf1f71806048d2570c955 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 8 Feb 2017 19:27:36 +0300 Subject: no need in that blablabla --- protocols/Discord/src/proto.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'protocols/Discord') 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)); -- cgit v1.2.3