summaryrefslogtreecommitdiff
path: root/protocols/Facebook/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/Facebook/src
parenta232c39b9e45a77e14326511112b70d3dc405105 (diff)
PROTO_INTERFACE::SendMsg - unused parameter flags removed
Diffstat (limited to 'protocols/Facebook/src')
-rw-r--r--protocols/Facebook/src/groupchats.cpp2
-rw-r--r--protocols/Facebook/src/proto.cpp2
-rw-r--r--protocols/Facebook/src/proto.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Facebook/src/groupchats.cpp b/protocols/Facebook/src/groupchats.cpp
index 3717d65eef..9215983585 100644
--- a/protocols/Facebook/src/groupchats.cpp
+++ b/protocols/Facebook/src/groupchats.cpp
@@ -164,7 +164,7 @@ int FacebookProto::GroupchatEventHook(WPARAM, LPARAM lParam)
wchar_t *wszText = NEWWSTR_ALLOCA(gch->ptszText);
Chat_UnescapeTags(wszText);
- int mid = SendMsg(si->hContact, 0, T2Utf(wszText));
+ int mid = SendMsg(si->hContact, T2Utf(wszText));
mir_cslock lck(m_csOwnMessages);
for (auto &msg : arOwnMessages)
diff --git a/protocols/Facebook/src/proto.cpp b/protocols/Facebook/src/proto.cpp
index 82b45478ad..5e896c6f4e 100644
--- a/protocols/Facebook/src/proto.cpp
+++ b/protocols/Facebook/src/proto.cpp
@@ -215,7 +215,7 @@ INT_PTR FacebookProto::GetCaps(int type, MCONTACT)
/////////////////////////////////////////////////////////////////////////////////////////
-int FacebookProto::SendMsg(MCONTACT hContact, int, const char *pszSrc)
+int FacebookProto::SendMsg(MCONTACT hContact, const char *pszSrc)
{
if (!m_bOnline)
return -1;
diff --git a/protocols/Facebook/src/proto.h b/protocols/Facebook/src/proto.h
index 16a3cbd4c1..660146e56f 100644
--- a/protocols/Facebook/src/proto.h
+++ b/protocols/Facebook/src/proto.h
@@ -528,7 +528,7 @@ public:
MCONTACT AddToList(int flags, PROTOSEARCHRESULT *psr) override;
INT_PTR GetCaps(int type, MCONTACT hContact) override;
- int SendMsg(MCONTACT hContact, int flags, const char *pszSrc) override;
+ int SendMsg(MCONTACT hContact, const char *pszSrc) override;
int SetStatus(int iNewStatus) override;
int UserIsTyping(MCONTACT hContact, int type) override;