From be8a64b8d423f460c4ea9aeae1d2f20ed078dc6c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 6 Jun 2023 19:13:16 +0300 Subject: =?UTF-8?q?fixes=20#3538=20(Jabber:=20=D0=BF=D0=B5=D1=80=D0=B5?= =?UTF-8?q?=D0=BD=D0=B5=D1=81=D1=82=D0=B8=20=D0=BE=D0=BF=D1=86=D0=B8=D1=8E?= =?UTF-8?q?=20=D0=BE=D0=B1=20=D0=B8=D1=81=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7?= =?UTF-8?q?=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B8=20HTTP=20FIle=20Upload=20?= =?UTF-8?q?=D0=B2=20=D0=BD=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B9=D0=BA=D0=B8?= =?UTF-8?q?=20=D0=BF=D1=80=D0=BE=D1=82=D0=BE=D0=BA=D0=BE=D0=BB=D0=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/JabberG/src/jabber_opt.cpp | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.3