summaryrefslogtreecommitdiff
path: root/MirOTR/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'MirOTR/options.cpp')
-rw-r--r--MirOTR/options.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/MirOTR/options.cpp b/MirOTR/options.cpp
index 993f7fd..8672071 100644
--- a/MirOTR/options.cpp
+++ b/MirOTR/options.cpp
@@ -848,12 +848,14 @@ static INT_PTR CALLBACK DlgProcMirOTROptsFinger(HWND hwndDlg, UINT msg, WPARAM w
case FPM_VERIFY:
otrl_context_set_trust(it->first, "verified");
if (it->first == it->first->context->active_fingerprint)
- SetEncryptionStatus((HANDLE)it->first->context->app_data, otr_context_get_trust(it->first->context));
+ VerifyFingerprint(it->first->context, true);
+ //SetEncryptionStatus((HANDLE)it->first->context->app_data, otr_context_get_trust(it->first->context));
break;
case FPM_NOTRUST:
otrl_context_set_trust(it->first, NULL);
if (it->first == it->first->context->active_fingerprint)
- SetEncryptionStatus((HANDLE)it->first->context->app_data, otr_context_get_trust(it->first->context));
+ VerifyFingerprint(it->first->context, false);
+ //SetEncryptionStatus((HANDLE)it->first->context->app_data, otr_context_get_trust(it->first->context));
break;
}
}