diff options
author | George Hazan <george.hazan@gmail.com> | 2023-09-15 14:52:01 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-09-15 14:52:01 +0300 |
commit | cb1787afbb67184321f206f13f836b63cd06740a (patch) | |
tree | 0e9f9701642fd1cc9bfb63dfba9eb72dad72d383 /protocols/WhatsApp | |
parent | a232c39b9e45a77e14326511112b70d3dc405105 (diff) |
PROTO_INTERFACE::SendMsg - unused parameter flags removed
Diffstat (limited to 'protocols/WhatsApp')
-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 917ca012aa..303753b7ee 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, int, const char *pszMsg)
+int WhatsAppProto::SendMsg(MCONTACT hContact, const char *pszMsg)
{
if (!isOnline())
return -1;
diff --git a/protocols/WhatsApp/src/proto.h b/protocols/WhatsApp/src/proto.h index ef3bb4f408..01ab9ba043 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, int flags, const char* msg) override;
+ int SendMsg(MCONTACT hContact, const char* msg) override;
int SetStatus(int iNewStatus) override;
int UserIsTyping(MCONTACT hContact, int type) override;
|