about summary refs log tree commit diff stats
path: root/src/ui/ui.h
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-01-11 23:04:22 +0000
committerJames Booth <boothj5@gmail.com>2015-01-11 23:04:22 +0000
commit13f0166aa04bce5e64803900d8554c92b6f3c667 (patch)
tree220f1afb5f143b89886b18c24ec75c918606a9f1 /src/ui/ui.h
parentc16871d143a00eeb04d40e7b4ab20590b8ae93c6 (diff)
downloadprofani-tty-13f0166aa04bce5e64803900d8554c92b6f3c667.tar.gz
Only show UI events for chat states when in session
Diffstat (limited to 'src/ui/ui.h')
-rw-r--r--src/ui/ui.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/ui.h b/src/ui/ui.h
index 0971f4f5..4d64342a 100644
--- a/src/ui/ui.h
+++ b/src/ui/ui.h
@@ -115,12 +115,12 @@ char * ui_ask_password(void);
 void ui_handle_stanza(const char * const msg);
 
 // ui events
-void ui_contact_typing(const char * const from);
+void ui_contact_typing(const char * const barejid, const char * const resource);
 void ui_incoming_msg(const char * const from, const char * const resource,  const char * const message, GTimeVal *tv_stamp);
 void ui_incoming_private_msg(const char * const fulljid, const char * const message, GTimeVal *tv_stamp);
 
 void ui_disconnected(void);
-void ui_recipient_gone(const char * const barejid);
+void ui_recipient_gone(const char * const barejid, const char * const resource);
 
 void ui_outgoing_chat_msg(const char * const from, const char * const barejid,
     const char * const message);