From 7c33e4a07ba1f22a58c291018ca99a4f6becb1fe Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 9 Jul 2023 15:03:09 +0300 Subject: fixes #3351 (Jingle: Separate all VOIP-related code from Jabber to Jingle plugin) --- protocols/JabberG/src/jabber_api.cpp | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'protocols/JabberG/src/jabber_api.cpp') diff --git a/protocols/JabberG/src/jabber_api.cpp b/protocols/JabberG/src/jabber_api.cpp index ef2b285f70..cfbbb24083 100644 --- a/protocols/JabberG/src/jabber_api.cpp +++ b/protocols/JabberG/src/jabber_api.cpp @@ -103,6 +103,16 @@ char* CJabberProto::GetModuleName() const return m_szModuleName; } +char* CJabberProto::GetFullJid() const +{ + return (m_ThreadInfo) ? m_ThreadInfo->fullJID : ""; +} + +char* CJabberProto::GetSerialNext() +{ + return JabberId2string(SerialNext()); +} + typedef struct { JABBER_HANDLER_FUNC Func; @@ -317,7 +327,8 @@ char* CJabberProto::GetResourceFeatures(const char *jid) return res.Detach(); } -HNETLIBUSER CJabberProto::GetHandle() +void CJabberProto::SendXml(const TiXmlElement *pXml) { - return m_hNetlibUser; -} + if (m_ThreadInfo) + m_ThreadInfo->send(pXml); +} \ No newline at end of file -- cgit v1.2.3