about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/profanity.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/profanity.c b/src/profanity.c
index 02182b69..27fea803 100644
--- a/src/profanity.c
+++ b/src/profanity.c
@@ -455,11 +455,13 @@ _handle_idle_time()
             if (strcmp(prefs_get_autoaway_mode(), "away") == 0) {
                 jabber_update_presence(PRESENCE_AWAY, prefs_get_autoaway_message());
                 if (prefs_get_autoaway_message() != NULL) {
-                    cons_show("Auto away.\"%s\".", prefs_get_autoaway_message());
+                    cons_show("Idle for %d minutes, status set to away, \"%s\".",
+                        prefs_get_autoaway_time(), prefs_get_autoaway_message());
                     title_bar_set_status(PRESENCE_AWAY);
                     win_current_page_off();
                 } else {
-                    cons_show("Auto away.");
+                    cons_show("Idle for %d minutes, status set to away.",
+                        prefs_get_autoaway_time());
                     title_bar_set_status(PRESENCE_AWAY);
                     win_current_page_off();
                 }