mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Show recipient not found in console only when no window for recipient
This commit is contained in:
parent
b19b881b97
commit
e1db531875
@ -355,10 +355,6 @@ _ui_handle_recipient_not_found(const char * const recipient, const char * const
|
|||||||
if (win == NULL) {
|
if (win == NULL) {
|
||||||
g_string_printf(msg, "Recipient %s not found: %s", recipient, err_msg);
|
g_string_printf(msg, "Recipient %s not found: %s", recipient, err_msg);
|
||||||
cons_show_error(msg->str);
|
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
|
// intended recipient was invalid chat room
|
||||||
} else if (win->type == WIN_MUC) {
|
} else if (win->type == WIN_MUC) {
|
||||||
|
Loading…
Reference in New Issue
Block a user