From 7156436805f099e644ff1039029512b0daab06c1 Mon Sep 17 00:00:00 2001 From: Dmitry Podgorny Date: Thu, 18 Oct 2012 10:20:53 +0300 Subject: [PATCH] windows: dont print wether contact exists in roster --- src/windows.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/windows.c b/src/windows.c index dd3af031..a303b3c7 100644 --- a/src/windows.c +++ b/src/windows.c @@ -383,10 +383,7 @@ win_show_outgoing_msg(const char * const from, const char * const to, _win_show_history(win, win_index, to); } - // say whether contact is in roster only once on creating window - if (contact == NULL) { - cons_show("%s is not one of your contacts."); - } else { + if (contact != NULL) { if (strcmp(p_contact_show(contact), "offline") == 0) { const char const *show = p_contact_show(contact); const char const *status = p_contact_status(contact);