diff options
author | George Hazan <ghazan@miranda.im> | 2023-01-13 18:22:12 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-01-13 18:22:12 +0300 |
commit | 51ccfb874ece51a0bdd08226d190ddf86a6013fd (patch) | |
tree | ef843f6760cb8c75a0ce4183dcf741c35da44233 /protocols/JabberG/src/jabber_proto.cpp | |
parent | fcf2f92e1b3e06c696260f14167a42d54c17c028 (diff) |
Jabber: ability to autoload files passed via HTTP Upload instead of writing messages with URLs
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_proto.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp index 3811becab3..4fb6dbf5a9 100644 --- a/protocols/JabberG/src/jabber_proto.cpp +++ b/protocols/JabberG/src/jabber_proto.cpp @@ -86,6 +86,7 @@ CJabberProto::CJabberProto(const char *aProtoName, const wchar_t *aUserName) : m_bAutoJoinBookmarks(this, "AutoJoinBookmarks", true),
m_bAutoJoinConferences(this, "AutoJoinConferences", false),
m_bAutoJoinHidden(this, "AutoJoinHidden", true),
+ m_bAutoLoadOOB(this, "AutoLoadOOB", true),
m_bAutosaveNotes(this, "AutosaveNotes", false),
m_bBsDirect(this, "BsDirect", true),
m_bBsDirectManual(this, "BsDirectManual", false),
@@ -526,6 +527,9 @@ HANDLE CJabberProto::FileAllow(MCONTACT /*hContact*/, HANDLE hTransfer, const wc case FT_OOB:
ForkThread((MyThreadFunc)&CJabberProto::FileReceiveThread, ft);
break;
+ case FT_HTTP:
+ ForkThread((MyThreadFunc)&CJabberProto::FileReceiveHttpThread, ft);
+ break;
case FT_BYTESTREAM:
FtAcceptSiRequest(ft);
break;
|