Added /account show command

This commit is contained in:
James Booth
2012-12-09 22:58:45 +00:00
parent ce6f227651
commit 30cb06ed74
3 changed files with 57 additions and 1 deletions

View File

@@ -1136,6 +1136,22 @@ cons_show_status(const char * const contact)
}
}
void
cons_show_account(ProfAccount *account)
{
cons_show("%s account details:", account->name);
cons_show("jid : %s", account->jid);
if (account->enabled) {
cons_show("enabled : TRUE");
} else {
cons_show("enabled : FALSE");
}
if (account->server != NULL) {
cons_show("server : %s", account->server);
}
cons_show("");
}
void
cons_show_ui_prefs(void)
{