diff options
author | George Hazan <george.hazan@gmail.com> | 2023-12-03 17:14:30 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-12-03 17:14:30 +0300 |
commit | 1338ad89ee45bdb681c531476dca00a377d7d033 (patch) | |
tree | 3eae8ad7620848a1a8b12ced532d826aae81a224 /protocols/ICQ-WIM/src | |
parent | 8a0d55713496fe7c8eecc0267d775b1bb29e0842 (diff) |
PROTO_INTERFACE::SendMsg: second parameter became a reply event id
Diffstat (limited to 'protocols/ICQ-WIM/src')
-rw-r--r-- | protocols/ICQ-WIM/src/groupchats.cpp | 2 | ||||
-rw-r--r-- | protocols/ICQ-WIM/src/proto.cpp | 2 | ||||
-rw-r--r-- | protocols/ICQ-WIM/src/proto.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/protocols/ICQ-WIM/src/groupchats.cpp b/protocols/ICQ-WIM/src/groupchats.cpp index abeaa9a503..59e9fb68a4 100644 --- a/protocols/ICQ-WIM/src/groupchats.cpp +++ b/protocols/ICQ-WIM/src/groupchats.cpp @@ -253,7 +253,7 @@ int CIcqProto::GroupchatEventHook(WPARAM, LPARAM lParam) if (m_bOnline) {
wchar_t *wszText = NEWWSTR_ALLOCA(gch->ptszText);
Chat_UnescapeTags(wszText);
- SendMsg(si->hContact, T2Utf(wszText));
+ SendMsg(si->hContact, 0, T2Utf(wszText));
}
break;
diff --git a/protocols/ICQ-WIM/src/proto.cpp b/protocols/ICQ-WIM/src/proto.cpp index 915dbd0832..ef67bb68e0 100644 --- a/protocols/ICQ-WIM/src/proto.cpp +++ b/protocols/ICQ-WIM/src/proto.cpp @@ -538,7 +538,7 @@ HANDLE CIcqProto::SendFile(MCONTACT hContact, const wchar_t *szDescription, wcha ////////////////////////////////////////////////////////////////////////////////////////
// PS_SendMessage - sends a message
-int CIcqProto::SendMsg(MCONTACT hContact, const char *pszSrc)
+int CIcqProto::SendMsg(MCONTACT hContact, MEVENT hReplyEvent, const char *pszSrc)
{
CMStringA szUserid(GetUserId(hContact));
if (szUserid.IsEmpty())
diff --git a/protocols/ICQ-WIM/src/proto.h b/protocols/ICQ-WIM/src/proto.h index 0919c3dad0..582fc4d8de 100644 --- a/protocols/ICQ-WIM/src/proto.h +++ b/protocols/ICQ-WIM/src/proto.h @@ -410,7 +410,7 @@ class CIcqProto : public PROTO<CIcqProto> HANDLE SearchBasic(const wchar_t *id) override;
HANDLE SendFile(MCONTACT hContact, const wchar_t *szDescription, wchar_t **ppszFiles) override;
- int SendMsg(MCONTACT hContact, const char *msg) override;
+ int SendMsg(MCONTACT hContact, MEVENT hReplyEvent, const char *msg) override;
int SetApparentMode(MCONTACT hContact, int mode) override;
int SetStatus(int iNewStatus) override;
|