mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
windows: dont print wether contact exists in roster
This commit is contained in:
parent
8200c959f8
commit
7156436805
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user