diff options
author | James Booth <boothj5@gmail.com> | 2014-04-02 20:02:46 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-04-02 20:02:46 +0100 |
commit | e1db5318758dcfc72acb698938fc17c407a24cb5 (patch) | |
tree | d6015eebaaf5a51c944a560eaf358a63955e418b | |
parent | b19b881b97dccff4e5589b5585db27beea1683de (diff) | |
download | profani-tty-e1db5318758dcfc72acb698938fc17c407a24cb5.tar.gz |
Show recipient not found in console only when no window for recipient
-rw-r--r-- | src/ui/core.c | 4 |
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) { |