From 1338ad89ee45bdb681c531476dca00a377d7d033 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 3 Dec 2023 17:14:30 +0300 Subject: PROTO_INTERFACE::SendMsg: second parameter became a reply event id --- protocols/WhatsApp/src/proto.cpp | 2 +- protocols/WhatsApp/src/proto.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/WhatsApp/src') diff --git a/protocols/WhatsApp/src/proto.cpp b/protocols/WhatsApp/src/proto.cpp index 303753b7ee..3b6f13c7b3 100644 --- a/protocols/WhatsApp/src/proto.cpp +++ b/protocols/WhatsApp/src/proto.cpp @@ -243,7 +243,7 @@ int WhatsAppProto::SetStatus(int iNewStatus) ///////////////////////////////////////////////////////////////////////////////////////// -int WhatsAppProto::SendMsg(MCONTACT hContact, const char *pszMsg) +int WhatsAppProto::SendMsg(MCONTACT hContact, MEVENT, const char *pszMsg) { if (!isOnline()) return -1; diff --git a/protocols/WhatsApp/src/proto.h b/protocols/WhatsApp/src/proto.h index 01ab9ba043..10cc2a068c 100644 --- a/protocols/WhatsApp/src/proto.h +++ b/protocols/WhatsApp/src/proto.h @@ -466,7 +466,7 @@ public: MCONTACT AddToList(int flags, PROTOSEARCHRESULT *psr) override; INT_PTR GetCaps(int type, MCONTACT hContact = NULL) override; HANDLE SearchBasic(const wchar_t* id) override; - int SendMsg(MCONTACT hContact, const char* msg) override; + int SendMsg(MCONTACT hContact, MEVENT, const char* msg) override; int SetStatus(int iNewStatus) override; int UserIsTyping(MCONTACT hContact, int type) override; -- cgit v1.2.3