diff options
author | George Hazan <george.hazan@gmail.com> | 2023-07-26 17:02:53 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-07-26 17:02:53 +0300 |
commit | e0bf792776131deef8f2634fb3eeb8bd8239c059 (patch) | |
tree | a004484e81d10505af43d1efa66726d4a9bb6d39 /protocols/JabberG/src | |
parent | 6f0837663b1aac2ede278e7dd8fb416290f82dad (diff) |
.
Diffstat (limited to 'protocols/JabberG/src')
-rw-r--r-- | protocols/JabberG/src/jabber_file.cpp | 2 | ||||
-rw-r--r-- | protocols/JabberG/src/jabber_proto.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_file.cpp b/protocols/JabberG/src/jabber_file.cpp index 863874a011..18ca3c59b3 100644 --- a/protocols/JabberG/src/jabber_file.cpp +++ b/protocols/JabberG/src/jabber_file.cpp @@ -108,7 +108,7 @@ void __cdecl CJabberProto::OfflineFileThread(OFDTHREAD *ofd) delete ofd;
}
-void CJabberProto::OnCreateOfflineFile(DB::FILE_BLOB &blob, void *pHandle)
+void CJabberProto::OnReceiveOfflineFile(DB::FILE_BLOB &blob, void *pHandle)
{
if (auto *ft = (filetransfer *)pHandle)
if (ft->type == FT_HTTP && ft->httpPath)
diff --git a/protocols/JabberG/src/jabber_proto.h b/protocols/JabberG/src/jabber_proto.h index bc41a58f3c..4a645a894b 100644 --- a/protocols/JabberG/src/jabber_proto.h +++ b/protocols/JabberG/src/jabber_proto.h @@ -151,9 +151,9 @@ struct CJabberProto : public PROTO<CJabberProto>, public IJabberInterface void OnBuildProtoMenu(void) override;
void OnContactDeleted(MCONTACT) override;
MWindow OnCreateAccMgrUI(MWindow) override;
- void OnCreateOfflineFile(DB::FILE_BLOB &blob, void *pHandle);
void OnMarkRead(MCONTACT, MEVENT) override;
void OnModulesLoaded() override;
+ void OnReceiveOfflineFile(DB::FILE_BLOB &blob, void *ft) override;
void OnShutdown() override;
//====| Services |====================================================================
|