diff options
author | Dmitry Podgorny <pasis.ua@gmail.com> | 2012-10-18 10:20:53 +0300 |
---|---|---|
committer | Dmitry Podgorny <pasis.ua@gmail.com> | 2012-10-18 10:20:53 +0300 |
commit | 7156436805f099e644ff1039029512b0daab06c1 (patch) | |
tree | bf65a92f6e6e95b4169eaf0940b271b96f658d4a /src | |
parent | 8200c959f85da1903f22ffc2ae13b8f0649199b7 (diff) | |
download | profani-tty-7156436805f099e644ff1039029512b0daab06c1.tar.gz |
windows: dont print wether contact exists in roster
Diffstat (limited to 'src')
-rw-r--r-- | src/windows.c | 5 |
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); |