Load OTR private key on connect, gen command checks if already generated

This commit is contained in:
James Booth
2014-01-11 15:48:22 +00:00
parent df8c7dedc1
commit 5c13538e6b
4 changed files with 115 additions and 38 deletions

View File

@@ -49,6 +49,7 @@ void
handle_login_account_success(char *account_name)
{
ProfAccount *account = accounts_get_account(account_name);
otr_on_connect(account);
resource_presence_t resource_presence = accounts_get_login_presence(account->name);
contact_presence_t contact_presence = contact_presence_from_resource_presence(resource_presence);
cons_show_login_success(account);