summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-04-25 20:00:55 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-04-25 20:00:55 +0300
commit9ea18ddc413a8c1eae6c32fe16e162a1998079c1 (patch)
tree0fcf08adc603e6420fae94bf79d7ede357b96edb /protocols/JabberG/src/jabber_proto.cpp
parentc104e058686d3d36bc9b15d84bfd9b84740cd3fa (diff)
Telegram: offline files to be links from the very beginning
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.cpp')
-rw-r--r--protocols/JabberG/src/jabber_proto.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp
index 9faee94630..7eac9947c8 100644
--- a/protocols/JabberG/src/jabber_proto.cpp
+++ b/protocols/JabberG/src/jabber_proto.cpp
@@ -706,23 +706,6 @@ int CJabberProto::GetInfo(MCONTACT hContact, int /*infoType*/)
}
////////////////////////////////////////////////////////////////////////////////////////
-// RecvFile - writes down an incoming file transfer to db
-
-MEVENT CJabberProto::RecvFile(MCONTACT hContact, PROTORECVFILE *pre)
-{
- MEVENT hEvent = CSuper::RecvFile(hContact, pre);
- if (hEvent) {
- auto *ft = (filetransfer *)pre->lParam;
- if (ft && ft->type == FT_HTTP && ft->httpPath) {
- DBVARIANT dbv = { DBVT_UTF8 };
- dbv.pszVal = ft->httpPath;
- db_event_setJson(hEvent, "u", &dbv);
- }
- }
- return hEvent;
-}
-
-////////////////////////////////////////////////////////////////////////////////////////
// SearchBasic - searches the contact by JID
struct JABBER_SEARCH_BASIC