summaryrefslogtreecommitdiff
path: root/init.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2012-05-19 01:43:48 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2012-05-19 01:43:48 +0300
commit9026615fea720ca69d3a3480a69e32e5432db69b (patch)
tree10e18a6b7bce1427cb04dafd4a5772123c974050 /init.cpp
parentec0c325b00df0576ecf6f159e6ea4b6f72a13e49 (diff)
fixed one more metacontacts problem
added option to remove own tags in outgoing messages (useful to quote)
Diffstat (limited to 'init.cpp')
-rwxr-xr-xinit.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.cpp b/init.cpp
index 0d2fb4b..5c1f11d 100755
--- a/init.cpp
+++ b/init.cpp
@@ -17,7 +17,7 @@
#include "commonheaders.h"
//global variables
-bool bAppendTags = false, bDebugLog = false, bJabberAPI = false, bIsMiranda09 = false, bMetaContacts = false, bFileTransfers = false, bAutoExchange = false;
+bool bAppendTags = false, bDebugLog = false, bJabberAPI = false, bIsMiranda09 = false, bMetaContacts = false, bFileTransfers = false, bAutoExchange = false, bStripTags = false;
TCHAR *inopentag = NULL, *inclosetag = NULL, *outopentag = NULL, *outclosetag = NULL, *password = NULL;
list <JabberAccount*> Accounts;
@@ -85,6 +85,7 @@ int SendKey(WPARAM w, LPARAM l);
void init_vars()
{
bAppendTags = DBGetContactSettingByte(NULL, szGPGModuleName, "bAppendTags", 0);
+ bStripTags = DBGetContactSettingByte(NULL, szGPGModuleName, "bStripTags", 0);
inopentag = UniGetContactSettingUtf(NULL, szGPGModuleName, "szInOpenTag", _T("<GPGdec>"));
inclosetag = UniGetContactSettingUtf(NULL, szGPGModuleName, "szInCloseTag", _T("</GPGdec>"));
outopentag = UniGetContactSettingUtf(NULL, szGPGModuleName, "szOutOpenTag", _T("<GPGenc>"));