mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-28 04:36:22 +00:00
Show recipient not found in console only when no window for recipient
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user