diff options
author | James Booth <boothj5@gmail.com> | 2013-06-23 16:35:13 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-06-23 16:35:13 +0100 |
commit | dace47e5d334a9fd7be8a73d83b8108988f78e49 (patch) | |
tree | 8c2f73dc75c59ef2c0078a29a6bbe4b77bec38fd /src/profanity.c | |
parent | 265fff8f40ad521d09bf56e8f2e8fad89ef63865 (diff) | |
download | profani-tty-dace47e5d334a9fd7be8a73d83b8108988f78e49.tar.gz |
Show message when removing contact from group when not in group
Diffstat (limited to 'src/profanity.c')
-rw-r--r-- | src/profanity.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/profanity.c b/src/profanity.c index 7042b7b5..d67cd6a9 100644 --- a/src/profanity.c +++ b/src/profanity.c @@ -149,10 +149,18 @@ prof_handle_duck_result(const char * const result) } void -prof_handle_already_in_group(const char * const barejid, +prof_handle_already_in_group(const char * const contact, const char * const group) { - ui_contact_already_in_group(barejid, group); + ui_contact_already_in_group(contact, group); + ui_current_page_off(); +} + +void +prof_handle_not_in_group(const char * const contact, + const char * const group) +{ + ui_contact_not_in_group(contact, group); ui_current_page_off(); } |