diff options
author | admin@progandy.co.cc <admin@progandy.co.cc@eced67a3-f377-a0ae-92ae-d6de1850b05a> | 2010-09-13 18:11:13 +0000 |
---|---|---|
committer | admin@progandy.co.cc <admin@progandy.co.cc@eced67a3-f377-a0ae-92ae-d6de1850b05a> | 2010-09-13 18:11:13 +0000 |
commit | 376594ac1d65cbb31165f5a74775d624c3fd2981 (patch) | |
tree | b1f9bf2ee2f1a82c5d9378c03cf09f72535c001d /MirOTR/otr.cpp | |
parent | 99ef7f1cfcaa4ead4b860faec88754abbe31ebfc (diff) |
- added basic html conversion for receiving (maybe a bit too powerful)
- some bugfixes
git-svn-id: http://mirotr.googlecode.com/svn/trunk@12 eced67a3-f377-a0ae-92ae-d6de1850b05a
Diffstat (limited to 'MirOTR/otr.cpp')
-rw-r--r-- | MirOTR/otr.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MirOTR/otr.cpp b/MirOTR/otr.cpp index 485e0f7..98ac2a3 100644 --- a/MirOTR/otr.cpp +++ b/MirOTR/otr.cpp @@ -82,6 +82,7 @@ extern "C" { if(hContact) {
pol = DBGetContactSettingDword(hContact, MODULENAME, "Policy", CONTACT_DEFAULT_POLICY);
if (options.bHaveSecureIM && pol != OTRL_POLICY_MANUAL_MOD && pol != OTRL_POLICY_NEVER && db_byte_get(hContact, "SecureIM" , "StatusID", 0)) {
+ // if SecureIM is not disabled for this contact, MirOTR will be set to manual
db_dword_set(hContact, MODULENAME, "Policy", OTRL_POLICY_MANUAL_MOD);
return OTRL_POLICY_MANUAL_MOD;
}
|