summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-02-25 19:58:46 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-02-25 19:58:46 +0300
commitd6f99a48a6855e8ebc860d069b4c61adbd168f90 (patch)
tree3d4e0af1f9e1290f9fc9e4faf626b8060961e5bd /protocols/JabberG/src/jabber_proto.h
parent89f4337d2faa3837a3f658ad3d4e359a3a32a08b (diff)
Jabber: ignore m_bEnableVOIP if no Jingle module installed
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.h')
-rw-r--r--protocols/JabberG/src/jabber_proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_proto.h b/protocols/JabberG/src/jabber_proto.h
index 643b432bd0..aa952d4bb0 100644
--- a/protocols/JabberG/src/jabber_proto.h
+++ b/protocols/JabberG/src/jabber_proto.h
@@ -911,6 +911,10 @@ struct CJabberProto : public PROTO<CJabberProto>, public IJabberInterface
struct _GstElement *m_pipe1 = NULL;
struct _GstElement *m_webrtc1 = NULL;
+ __forceinline bool hasJingle()
+ { return g_plugin.bJingle && m_bEnableVOIP;
+ }
+
//---- jabber_xml.c ------------------------------------------------------------------
void OnConsoleProcessXml(const TiXmlElement *node, uint32_t flags);