Handle SMP secret response

This commit is contained in:
James Booth
2014-04-26 22:52:25 +01:00
parent 06d81ed9ce
commit aff9eee433
5 changed files with 30 additions and 10 deletions

View File

@@ -2800,8 +2800,8 @@ cmd_otr(gchar **args, struct cmd_help_t help)
cons_show("Usage: %s", help.usage);
} else {
char *recipient = ui_current_recipient();
otr_smp_init_secret(recipient, secret);
ui_current_print_formatted_line('!', 0, "OTR secret entered", secret);
otr_smp_secret(recipient, secret);
ui_current_print_formatted_line('!', 0, "OTR secret entered");
}
}
return TRUE;