about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/windows.c5
1 files changed, 1 insertions, 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);