diff options
author | George Hazan <ghazan@miranda.im> | 2020-03-16 14:28:01 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-03-16 14:28:01 +0300 |
commit | 0fa627b2e173ee95fe5c422545d26db02e4e327a (patch) | |
tree | 56730a7484de1ef6fdaca35413cd79702e39944e | |
parent | 0d1f1efe01eea70634b4c22094c4a64b70806938 (diff) |
Jabber: fix for receiving auth requests
-rwxr-xr-x | protocols/JabberG/src/jabber_proto.cpp | 8 | ||||
-rwxr-xr-x | protocols/JabberG/src/jabber_proto.h | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp index d71378c81f..a026b9f113 100755 --- a/protocols/JabberG/src/jabber_proto.cpp +++ b/protocols/JabberG/src/jabber_proto.cpp @@ -473,6 +473,14 @@ int CJabberProto::AuthDeny(MEVENT hDbEvent, const wchar_t*) }
////////////////////////////////////////////////////////////////////////////////////////
+// JabberAuthRecv - receives a auth
+
+int CJabberProto::AuthRecv(MCONTACT, PROTORECVEVENT *pre)
+{
+ return Proto_AuthRecv(m_szModuleName, pre);
+}
+
+////////////////////////////////////////////////////////////////////////////////////////
// JabberFileAllow - starts a file transfer
HANDLE CJabberProto::FileAllow(MCONTACT /*hContact*/, HANDLE hTransfer, const wchar_t *szPath)
diff --git a/protocols/JabberG/src/jabber_proto.h b/protocols/JabberG/src/jabber_proto.h index 5306832189..961329212c 100755 --- a/protocols/JabberG/src/jabber_proto.h +++ b/protocols/JabberG/src/jabber_proto.h @@ -110,6 +110,7 @@ struct CJabberProto : public PROTO<CJabberProto>, public IJabberInterface int Authorize(MEVENT hDbEvent) override;
int AuthDeny(MEVENT hDbEvent, const wchar_t *szReason) override;
+ int AuthRecv(MCONTACT, PROTORECVEVENT *pre) override;
HANDLE FileAllow(MCONTACT hContact, HANDLE hTransfer, const wchar_t *szPath) override;
int FileCancel(MCONTACT hContact, HANDLE hTransfer) override;
|