summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-01-27 22:01:19 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-01-27 22:01:19 +0000
commitf5040450314c4b4ab23ab3b93ab93e0dcb2ebba8 (patch)
tree597c7626a4fc7f5b09b70a953a61b585f4c0c12c /protocols/WhatsApp/src/proto.cpp
parenta0778b193508edbf795685cb6cebfca0d5ea8f8b (diff)
WhatsApp:
- fix for the ping thread; - fix for message notifications git-svn-id: http://svn.miranda-ng.org/main/trunk@11932 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/proto.cpp')
-rw-r--r--protocols/WhatsApp/src/proto.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/WhatsApp/src/proto.cpp b/protocols/WhatsApp/src/proto.cpp
index 76197975d1..cd251762c3 100644
--- a/protocols/WhatsApp/src/proto.cpp
+++ b/protocols/WhatsApp/src/proto.cpp
@@ -129,8 +129,8 @@ int WhatsAppProto::SetStatus(int new_status)
ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)oldStatus, m_iStatus);
ResetEvent(update_loop_lock_);
- ForkThread(&WhatsAppProto::sentinelLoop, this);
- ForkThread(&WhatsAppProto::stayConnectedLoop, this);
+ ForkThread(&WhatsAppProto::sentinelLoop, 0);
+ ForkThread(&WhatsAppProto::stayConnectedLoop, 0);
}
else if (m_pConnection != NULL) {
if (m_iDesiredStatus == ID_STATUS_ONLINE) {