about summary refs log tree commit diff stats
path: root/src/profanity.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-06-23 16:29:42 +0100
committerJames Booth <boothj5@gmail.com>2013-06-23 16:29:42 +0100
commit265fff8f40ad521d09bf56e8f2e8fad89ef63865 (patch)
tree4fb0fb65885e7d5bf262d0b17c85b42138054172 /src/profanity.c
parentf9b8da1afee6267cc1b09f036cd58e1d9326509c (diff)
downloadprofani-tty-265fff8f40ad521d09bf56e8f2e8fad89ef63865.tar.gz
Show message when contact already in group
Diffstat (limited to 'src/profanity.c')
-rw-r--r--src/profanity.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/profanity.c b/src/profanity.c
index 732cbf5c..7042b7b5 100644
--- a/src/profanity.c
+++ b/src/profanity.c
@@ -149,6 +149,14 @@ prof_handle_duck_result(const char * const result)
 }
 
 void
+prof_handle_already_in_group(const char * const barejid,
+    const char * const group)
+{
+    ui_contact_already_in_group(barejid, group);
+    ui_current_page_off();
+}
+
+void
 prof_handle_error_message(const char *from, const char *err_msg)
 {
     win_type_t win_type = ui_current_win_type();