summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_proto.cpp
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.cpp
parent89f4337d2faa3837a3f658ad3d4e359a3a32a08b (diff)
Jabber: ignore m_bEnableVOIP if no Jingle module installed
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.cpp')
-rw-r--r--protocols/JabberG/src/jabber_proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp
index a00e52b195..dd3a311c90 100644
--- a/protocols/JabberG/src/jabber_proto.cpp
+++ b/protocols/JabberG/src/jabber_proto.cpp
@@ -251,7 +251,7 @@ CJabberProto::CJabberProto(const char *aProtoName, const wchar_t *aUserName) :
g_plugin.addPopupOption(CMStringW(FORMAT, TranslateT("%s error notifications"), m_tszUserName), m_bUsePopups);
// Voip
- if (m_bEnableVOIP) {
+ if (hasJingle()) {
VOICE_MODULE vsr = {};
vsr.cbSize = sizeof(VOICE_MODULE);
vsr.description = L"XMPP/DTLS-SRTP";