diff options
author | George Hazan <george.hazan@gmail.com> | 2023-06-06 19:13:16 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-06-06 19:13:16 +0300 |
commit | be8a64b8d423f460c4ea9aeae1d2f20ed078dc6c (patch) | |
tree | fc7b1dc36d80f436bd710e3e6c3c765f24eca6f9 /protocols/JabberG/src/jabber_opt.cpp | |
parent | 79dc27a403c3fe1daa1c279690a727e5e92c73a5 (diff) |
fixes #3538 (Jabber: перенести опцию об использовании HTTP FIle Upload в настройки протокола)
Diffstat (limited to 'protocols/JabberG/src/jabber_opt.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_opt.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_opt.cpp b/protocols/JabberG/src/jabber_opt.cpp index 4df55c6998..56055bdabc 100644 --- a/protocols/JabberG/src/jabber_opt.cpp +++ b/protocols/JabberG/src/jabber_opt.cpp @@ -705,6 +705,8 @@ public: m_options.AddOption(LPGENW("Messaging"), LPGENW("Enable server-side history (XEP-0136)"), m_proto->m_bEnableMsgArchive);
m_options.AddOption(LPGENW("Messaging"), LPGENW("Enable Message Archive Management (XEP-0313)"), m_proto->m_bEnableMam);
m_options.AddOption(LPGENW("Messaging"), LPGENW("Enable carbon copies (XEP-0280)"), m_proto->m_bEnableCarbons);
+ if (mir_strlen(ptrA(m_proto->getStringA("HttpUpload"))))
+ m_options.AddOption(LPGENW("Messaging"), LPGENW("Enable HTTP Upload (XEP-0363)"), m_proto->m_bUseHttpUpload);
if (g_plugin.bJingle)
m_options.AddOption(LPGENW("Messaging"), LPGENW("Enable VOIP (experimental)"), m_proto->m_bEnableVOIP);
|