Show roster after roster received

This commit is contained in:
James Booth
2014-11-20 00:32:33 +00:00
parent 20fa96325d
commit 9d9ffb08cf
3 changed files with 7 additions and 0 deletions

View File

@@ -122,7 +122,11 @@ handle_login_account_success(char *account_name)
log_info("%s logged in successfully", account->jid);
account_free(account);
}
void
handle_roster_received(void)
{
if (prefs_get_boolean(PREF_ROSTER)) {
ui_show_roster();
}