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/Telegram/src | |
parent | a232c39b9e45a77e14326511112b70d3dc405105 (diff) |
PROTO_INTERFACE::SendMsg - unused parameter flags removed
Diffstat (limited to 'protocols/Telegram/src')
-rw-r--r-- | protocols/Telegram/src/proto.cpp | 2 | ||||
-rw-r--r-- | protocols/Telegram/src/proto.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Telegram/src/proto.cpp b/protocols/Telegram/src/proto.cpp index 98d055af2b..4f62a300a0 100644 --- a/protocols/Telegram/src/proto.cpp +++ b/protocols/Telegram/src/proto.cpp @@ -466,7 +466,7 @@ void CTelegramProto::OnSendFile(td::ClientManager::Response &response, void *pUs ///////////////////////////////////////////////////////////////////////////////////////// -int CTelegramProto::SendMsg(MCONTACT hContact, int, const char *pszMessage) +int CTelegramProto::SendMsg(MCONTACT hContact, const char *pszMessage) { ptrA szId(getStringA(hContact, DBKEY_ID)); if (szId == nullptr) diff --git a/protocols/Telegram/src/proto.h b/protocols/Telegram/src/proto.h index c3d0252a06..27394a241c 100644 --- a/protocols/Telegram/src/proto.h +++ b/protocols/Telegram/src/proto.h @@ -333,7 +333,7 @@ public: MEVENT RecvFile(MCONTACT hContact, PROTORECVFILE *pre) override; HANDLE SearchByName(const wchar_t *nick, const wchar_t *firstName, const wchar_t *lastName) override; - int SendMsg(MCONTACT hContact, int flags, const char *pszMessage) override; + int SendMsg(MCONTACT hContact, const char *pszMessage) override; int SetStatus(int iNewStatus) override; void OnBuildProtoMenu() override; |