diff options
author | George Hazan <george.hazan@gmail.com> | 2023-07-11 16:48:33 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-07-11 16:48:33 +0300 |
commit | 5ea12e6c6ca67668c8806f9b1ccc091028dc5de5 (patch) | |
tree | 3f437fc6892a3e2953bbc6713ea3be30b1b64ef5 | |
parent | 0fee7f62bbd255e643b5e07e7c085e4d19503e3d (diff) |
fixes #3573 (Jingle: опция "Использовать VOIP" отсутствует, если вгрузить плагин на лету)
-rw-r--r-- | protocols/JabberG/src/jabber_opt.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/protocols/JabberG/src/jabber_opt.cpp b/protocols/JabberG/src/jabber_opt.cpp index 650b564fe5..27cee4ca46 100644 --- a/protocols/JabberG/src/jabber_opt.cpp +++ b/protocols/JabberG/src/jabber_opt.cpp @@ -689,6 +689,11 @@ public: CreateLink(m_txtDirect, "BsDirectAddr", L"");
m_chkDirect.OnChange = m_chkDirectManual.OnChange = Callback(this, &CDlgOptAdvanced::chkDirect_OnChange);
+ }
+
+ bool OnInitDialog() override
+ {
+ CSuper::OnInitDialog();
m_options.AddOption(LPGENW("Messaging"), LPGENW("Use message delivery receipts (XEP-0184)"), m_proto->m_bMsgAck);
m_options.AddOption(LPGENW("Messaging"), LPGENW("Enable avatars"), m_proto->m_bEnableAvatars);
@@ -724,16 +729,12 @@ public: m_options.AddOption(LPGENW("Other"), LPGENW("Embrace picture URLs with [img]"), m_proto->m_bEmbraceUrls);
m_options.AddOption(LPGENW("Other"), LPGENW("Ignore server roster (groups and nick names)"), m_proto->m_bIgnoreRoster);
- m_options.AddOption(LPGENW("Security"), LPGENW("Allow local time and timezone requests (XEP-0202)"), m_proto->m_bAllowTimeReplies);
+ m_options.AddOption(LPGENW("Security"), LPGENW("Allow local time and timezone requests (XEP-0202)"), m_proto->m_bAllowTimeReplies);
m_options.AddOption(LPGENW("Security"), LPGENW("Allow servers to request version (XEP-0092)"), m_proto->m_bAllowVersionRequests);
m_options.AddOption(LPGENW("Security"), LPGENW("Show information about operating system in version replies"), m_proto->m_bShowOSVersion);
m_options.AddOption(LPGENW("Security"), LPGENW("Accept HTTP Authentication requests (XEP-0070)"), m_proto->m_bAcceptHttpAuth);
m_options.AddOption(LPGENW("Security"), LPGENW("Use OMEMO encryption for messages if possible (XEP-0384) (basic support without GUI)"), m_proto->m_bUseOMEMO);
- }
-
- bool OnInitDialog() override
- {
- CSuper::OnInitDialog();
+ m_options.OnInit();
chkDirect_OnChange(&m_chkDirect);
return true;
|