Load keys and fingerprints for account on connect

This commit is contained in:
James Booth
2013-08-14 22:27:44 +01:00
parent 10f556f412
commit bc82a7d0f8
3 changed files with 45 additions and 2 deletions

View File

@@ -249,6 +249,9 @@ void
prof_handle_login_account_success(char *account_name)
{
ProfAccount *account = accounts_get_account(account_name);
#ifdef HAVE_LIBOTR
otr_account_load(account);
#endif
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);