diff options
author | George Hazan <george.hazan@gmail.com> | 2024-02-06 19:08:01 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-02-06 19:08:01 +0300 |
commit | e1d76341e84037b4c58bbb3d3b36769fc26d209c (patch) | |
tree | 6b9abecd48b3c199ba1991a830f167111c54a134 /protocols/JabberG/src | |
parent | a149741d7691a9f698d54e1a08c4e4e47777fe70 (diff) |
fixes #4174 (Jingle: опция "Enable VOIP" отсутствует после подгрузки плагина на лету, если в базе уже есть ключ)
Diffstat (limited to 'protocols/JabberG/src')
-rw-r--r-- | protocols/JabberG/src/jabber_opt.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_opt.cpp b/protocols/JabberG/src/jabber_opt.cpp index f3ab8696c4..57f048c761 100644 --- a/protocols/JabberG/src/jabber_opt.cpp +++ b/protocols/JabberG/src/jabber_opt.cpp @@ -707,8 +707,6 @@ public: m_options.AddOption(LPGENW("Messaging"), LPGENW("Enable carbon copies (XEP-0280)"), proto->m_bEnableCarbons);
if (mir_strlen(ptrA(proto->getStringA("HttpUpload"))))
m_options.AddOption(LPGENW("Messaging"), LPGENW("Enable HTTP File Upload (XEP-0363)"), proto->m_bUseHttpUpload);
- if (proto->FindFeature(JABBER_FEAT_JINGLE))
- m_options.AddOption(LPGENW("Messaging"), LPGENW("Enable VOIP (experimental)"), proto->m_bEnableVOIP);
m_options.AddOption(LPGENW("Server options"), LPGENW("Use Stream Management (XEP-0198)"), proto->m_bEnableStreamMgmt);
m_options.AddOption(LPGENW("Server options"), LPGENW("Disable SASL authentication (for old servers)"), proto->m_bDisable3920auth);
@@ -734,6 +732,9 @@ public: {
CSuper::OnInitDialog();
+ if (m_proto->FindFeature(JABBER_FEAT_JINGLE))
+ m_options.AddOption(LPGENW("Messaging"), LPGENW("Enable VOIP (experimental)"), m_proto->m_bEnableVOIP);
+
chkDirect_OnChange(&m_chkDirect);
return true;
}
|