summaryrefslogtreecommitdiff
path: root/protocols/Sametime/src/sametime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Sametime/src/sametime.cpp')
-rw-r--r--protocols/Sametime/src/sametime.cpp37
1 files changed, 1 insertions, 36 deletions
diff --git a/protocols/Sametime/src/sametime.cpp b/protocols/Sametime/src/sametime.cpp
index 189e877a66..186ebcda7f 100644
--- a/protocols/Sametime/src/sametime.cpp
+++ b/protocols/Sametime/src/sametime.cpp
@@ -87,43 +87,8 @@ void SametimeInitIcons(void)
}
// Copied from MSN plugin - sent acks need to be from different thread
-void __cdecl sttFakeAckInfoSuccessThread(TFakeAckParams* tParam)
-{
- CSametimeProto* proto = tParam->proto;
- proto->debugLogW(L"sttFakeAckInfoSuccessThread() start");
-
- Sleep(100);
- proto->ProtoBroadcastAck(tParam->hContact, ACKTYPE_GETINFO, ACKRESULT_SUCCESS, (HANDLE)1);
-
- proto->debugLogW(L"sttFakeAckInfoSuccessThread() end");
- mir_free(tParam);
-}
-
-void __cdecl sttFakeAckMessageSuccessThread(TFakeAckParams* tParam)
-{
- CSametimeProto* proto = tParam->proto;
- proto->debugLogW(L"sttFakeAckMessageSuccessThread() start");
-
- Sleep(100);
- proto->ProtoBroadcastAck(tParam->hContact, ACKTYPE_MESSAGE, ACKRESULT_SUCCESS, (HANDLE)tParam->lParam, 0);
-
- proto->debugLogW(L"sttFakeAckMessageSuccessThread() end");
- mir_free(tParam);
-}
-
-void __cdecl sttFakeAckMessageFailedThread(TFakeAckParams* tParam)
-{
- CSametimeProto* proto = tParam->proto;
- proto->debugLogW(L"sttFakeAckMessageFailedThread() start");
-
- Sleep(100);
- proto->ProtoBroadcastAck(tParam->hContact, ACKTYPE_MESSAGE, ACKRESULT_FAILED, nullptr, tParam->lParam); ///TODO tParam->lParam: add error message
-
- proto->debugLogW(L"sttFakeAckMessageFailedThread() end");
- mir_free(tParam);
-}
-void __cdecl sttRecvAwayThread(TFakeAckParams* tParam)
+void __cdecl sttRecvAwayThread(TFakeAckParams *tParam)
{
CSametimeProto* proto = tParam->proto;
proto->debugLogW(L"sttRecvAwayThread() start");