Option to use last presence at login, or use a specific presence

This commit is contained in:
James Booth
2013-01-31 00:01:38 +00:00
parent 9aa6a39cd6
commit e6749d669d
8 changed files with 106 additions and 47 deletions

View File

@@ -1225,16 +1225,22 @@ cons_show_account(ProfAccount *account)
{
cons_show("%s account details:", account->name);
if (account->enabled) {
cons_show("enabled : TRUE");
cons_show("enabled : TRUE");
} else {
cons_show("enabled : FALSE");
cons_show("enabled : FALSE");
}
cons_show("jid : %s", account->jid);
cons_show("jid : %s", account->jid);
if (account->resource != NULL) {
cons_show("resource : %s", account->resource);
cons_show("resource : %s", account->resource);
}
if (account->server != NULL) {
cons_show("server : %s", account->server);
cons_show("server : %s", account->server);
}
if (account->last_presence != NULL) {
cons_show("Last presence : %s", account->last_presence);
}
if (account->login_presence != NULL) {
cons_show("Login presence : %s", account->login_presence);
}
cons_show("");
}