diff options
author | George Hazan <george.hazan@gmail.com> | 2023-12-03 17:14:30 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-12-03 17:14:30 +0300 |
commit | 1338ad89ee45bdb681c531476dca00a377d7d033 (patch) | |
tree | 3eae8ad7620848a1a8b12ced532d826aae81a224 /protocols/WhatsApp/src | |
parent | 8a0d55713496fe7c8eecc0267d775b1bb29e0842 (diff) |
PROTO_INTERFACE::SendMsg: second parameter became a reply event id
Diffstat (limited to 'protocols/WhatsApp/src')
-rw-r--r-- | protocols/WhatsApp/src/proto.cpp | 2 | ||||
-rw-r--r-- | protocols/WhatsApp/src/proto.h | 2 |
2 files changed, 2 insertions, 2 deletions
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;
|