about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-04-02 20:02:46 +0100
committerJames Booth <boothj5@gmail.com>2014-04-02 20:02:46 +0100
commite1db5318758dcfc72acb698938fc17c407a24cb5 (patch)
treed6015eebaaf5a51c944a560eaf358a63955e418b
parentb19b881b97dccff4e5589b5585db27beea1683de (diff)
downloadprofani-tty-e1db5318758dcfc72acb698938fc17c407a24cb5.tar.gz
Show recipient not found in console only when no window for recipient
-rw-r--r--src/ui/core.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ui/core.c b/src/ui/core.c
index 7b1e4d1e..4d917563 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -355,10 +355,6 @@ _ui_handle_recipient_not_found(const char * const recipient, const char * const
     if (win == NULL) {
         g_string_printf(msg, "Recipient %s not found: %s", recipient, err_msg);
         cons_show_error(msg->str);
-        win = wins_get_current();
-        if (win->type != WIN_CONSOLE) {
-            win_print_line(win, '!', COLOUR_ERROR, msg->str);
-        }
 
     // intended recipient was invalid chat room
     } else if (win->type == WIN_MUC) {