about summary refs log tree commit diff stats
path: root/src/ui_windows.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-01-31 00:01:38 +0000
committerJames Booth <boothj5@gmail.com>2013-01-31 00:01:38 +0000
commite6749d669db500942d9ad44df34077de34a36580 (patch)
tree06021b14cf6efbfeea0b8daec257f91e14d6e80f /src/ui_windows.c
parent9aa6a39cd6a263ed18aa91f178a318133e9ba27c (diff)
downloadprofani-tty-e6749d669db500942d9ad44df34077de34a36580.tar.gz
Option to use last presence at login, or use a specific presence
Diffstat (limited to 'src/ui_windows.c')
-rw-r--r--src/ui_windows.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/ui_windows.c b/src/ui_windows.c
index ba755ff2..26e7a197 100644
--- a/src/ui_windows.c
+++ b/src/ui_windows.c
@@ -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("");
 }