diff options
author | George Hazan <george.hazan@gmail.com> | 2023-07-09 15:03:09 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-07-09 15:03:09 +0300 |
commit | 7c33e4a07ba1f22a58c291018ca99a4f6becb1fe (patch) | |
tree | 4a8ef2882a0cc26e2f583b56fab9054d9f5e72f6 /protocols/JabberG/src/jabber_api.cpp | |
parent | 14e09a5f84023ad21a2f494ced01a991966abee4 (diff) |
fixes #3351 (Jingle: Separate all VOIP-related code from Jabber to Jingle plugin)
Diffstat (limited to 'protocols/JabberG/src/jabber_api.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_api.cpp | 17 |
1 files changed, 14 insertions, 3 deletions
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 |