summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src
diff options
context:
space:
mode:
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;