diff options
Diffstat (limited to 'src/otr/otrlibv3.c')
-rw-r--r-- | src/otr/otrlibv3.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/otr/otrlibv3.c b/src/otr/otrlibv3.c index ce5a2f95..bfd25a5f 100644 --- a/src/otr/otrlibv3.c +++ b/src/otr/otrlibv3.c @@ -137,6 +137,7 @@ otrlib_handle_tlvs(OtrlUserState user_state, OtrlMessageAppOps *ops, ConnContext } else { context->smstate->nextExpected = OTRL_SMP_EXPECT1; if ((context->active_fingerprint->trust != NULL) && (context->active_fingerprint->trust[0] != '\0')) { + ui_smp_successful(context->username); ui_trust(context->username); otr_trust(context->username); } else { @@ -153,6 +154,7 @@ otrlib_handle_tlvs(OtrlUserState user_state, OtrlMessageAppOps *ops, ConnContext } else { context->smstate->nextExpected = OTRL_SMP_EXPECT1; if ((context->active_fingerprint->trust != NULL) && (context->active_fingerprint->trust[0] != '\0')) { + ui_smp_successful(context->username); ui_trust(context->username); otr_trust(context->username); } else { |