Added /roster show|hide command, only show roster on connect success

This commit is contained in:
James Booth
2014-11-10 23:23:02 +00:00
parent 5d59d17642
commit 497b07c1c3
9 changed files with 77 additions and 4 deletions

View File

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