summaryrefslogtreecommitdiff
path: root/protocols/Facebook/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-12-03 17:14:30 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-12-03 17:14:30 +0300
commit1338ad89ee45bdb681c531476dca00a377d7d033 (patch)
tree3eae8ad7620848a1a8b12ced532d826aae81a224 /protocols/Facebook/src
parent8a0d55713496fe7c8eecc0267d775b1bb29e0842 (diff)
PROTO_INTERFACE::SendMsg: second parameter became a reply event id
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 9215983585..3717d65eef 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, T2Utf(wszText));
+ int mid = SendMsg(si->hContact, 0, 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 30f0d7163f..bec6bac475 100644
--- a/protocols/Facebook/src/proto.cpp
+++ b/protocols/Facebook/src/proto.cpp
@@ -213,7 +213,7 @@ INT_PTR FacebookProto::GetCaps(int type, MCONTACT)
/////////////////////////////////////////////////////////////////////////////////////////
-int FacebookProto::SendMsg(MCONTACT hContact, const char *pszSrc)
+int FacebookProto::SendMsg(MCONTACT hContact, MEVENT, const char *pszSrc)
{
if (!m_bOnline)
return -1;
diff --git a/protocols/Facebook/src/proto.h b/protocols/Facebook/src/proto.h
index 660146e56f..e8ea77d658 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, const char *pszSrc) override;
+ int SendMsg(MCONTACT hContact, MEVENT hReplyEvent, const char *pszSrc) override;
int SetStatus(int iNewStatus) override;
int UserIsTyping(MCONTACT hContact, int type) override;