summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-01-26 23:35:02 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-01-26 23:35:02 +0000
commit24c5c5da5e34c0cfb1f6798afb3029f85d5dd062 (patch)
tree6c797923770fad042c93b5dfe41aa1de1eba7218 /protocols/WhatsApp/src/proto.cpp
parent88d6662a12f18844e5487c3d35155d3fbbff85a5 (diff)
WhatsApp: fix for send/recv messages
git-svn-id: http://svn.miranda-ng.org/main/trunk@11922 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/proto.cpp')
-rw-r--r--protocols/WhatsApp/src/proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/WhatsApp/src/proto.cpp b/protocols/WhatsApp/src/proto.cpp
index 255417a277..76197975d1 100644
--- a/protocols/WhatsApp/src/proto.cpp
+++ b/protocols/WhatsApp/src/proto.cpp
@@ -205,7 +205,7 @@ HANDLE WhatsAppProto::SearchBasic(const PROTOCHAR* id)
return 0;
// fake - we always accept search
- SearchParam *param = new SearchParam(id, m_pConnection->msg_id++);
+ SearchParam *param = new SearchParam(id, ++m_pConnection->msg_id);
ForkThread(&WhatsAppProto::SearchAckThread, param);
return (HANDLE)param->id;
}