From 2bc19f4669f820ff952a9d1b02055e93891d99b4 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 27 Apr 2014 01:17:38 +0100 Subject: Added SMP secret authentication success message --- src/otr/otrlibv3.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/otr/otrlibv3.c') 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 { -- cgit 1.4.1-2-gfad0