summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-09-15 14:52:01 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-09-15 14:52:01 +0300
commitcb1787afbb67184321f206f13f836b63cd06740a (patch)
tree0e9f9701642fd1cc9bfb63dfba9eb72dad72d383 /protocols/Telegram/src
parenta232c39b9e45a77e14326511112b70d3dc405105 (diff)
PROTO_INTERFACE::SendMsg - unused parameter flags removed
Diffstat (limited to 'protocols/Telegram/src')
-rw-r--r--protocols/Telegram/src/proto.cpp2
-rw-r--r--protocols/Telegram/src/proto.h2
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;