From 1a47d440397cfbdb7353584997a05123b7964a32 Mon Sep 17 00:00:00 2001 From: Alexander Gluzsky <sss123next@list.ru> Date: Thu, 24 Jan 2013 23:12:10 +0000 Subject: started filetransfers caps implementation git-svn-id: http://svn.miranda-ng.org/main/trunk@3270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/New_GPG/src/utilities.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'plugins/New_GPG') diff --git a/plugins/New_GPG/src/utilities.cpp b/plugins/New_GPG/src/utilities.cpp index 6812fe8922..0b945c6058 100755 --- a/plugins/New_GPG/src/utilities.cpp +++ b/plugins/New_GPG/src/utilities.cpp @@ -1091,6 +1091,11 @@ void AddHandlers() (*p)->getJabberInterface()->Net()->RegisterFeature(_T("GPG_Key_Auto_Exchange:0"), _T("Indicates that gpg installed and configured to public key auto exchange (currently implemented in new_gpg plugin for Miranda IM and Miranda NG)")); (*p)->getJabberInterface()->Net()->AddFeatures(_T("GPG_Key_Auto_Exchange:0\0\0")); } + if(bFileTransfers) + { + (*p)->getJabberInterface()->Net()->RegisterFeature(_T("GPG_Encrypted_FileTransfers:0"), _T("Indicates that gpg installed and configured to encrypt files (currently implemented in new_gpg plugin for Miranda IM and Miranda NG)")); + (*p)->getJabberInterface()->Net()->AddFeatures(_T("GPG_Encrypted_FileTransfers:0\0\0")); + } } } -- cgit v1.2.3