about summary refs log tree commit diff stats
path: root/src/profanity.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-01-31 00:20:25 +0000
committerJames Booth <boothj5@gmail.com>2015-01-31 00:20:25 +0000
commitf94b6ef0a213df2834ceece34036cf4c4990ba9a (patch)
tree276621305aadee040be79273b17c4070cae66518 /src/profanity.c
parent1cf5592b1fd59b4a9277a5c969403f717d50a7cc (diff)
downloadprofani-tty-f94b6ef0a213df2834ceece34036cf4c4990ba9a.tar.gz
Added idle and activity handlers
Diffstat (limited to 'src/profanity.c')
-rw-r--r--src/profanity.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/profanity.c b/src/profanity.c
index f3c53003..cb3ce4eb 100644
--- a/src/profanity.c
+++ b/src/profanity.c
@@ -99,6 +99,7 @@ prof_run(const int disable_tls, char *log_level, char *account_name)
 void
 prof_handle_idle(void)
 {
+    cons_debug("IDLE");
     jabber_conn_status_t status = jabber_get_connection_status();
     if (status == JABBER_CONNECTED) {
         GSList *recipients = ui_get_chat_recipients();
@@ -120,6 +121,7 @@ prof_handle_idle(void)
 void
 prof_handle_activity(void)
 {
+    cons_debug("ACTIVITY");
     win_type_t win_type = ui_current_win_type();
     jabber_conn_status_t status = jabber_get_connection_status();