mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-08-01 19:06:21 +00:00
windows: dont print wether contact exists in roster
This commit is contained in:
@@ -383,10 +383,7 @@ win_show_outgoing_msg(const char * const from, const char * const to,
|
|||||||
_win_show_history(win, win_index, to);
|
_win_show_history(win, win_index, to);
|
||||||
}
|
}
|
||||||
|
|
||||||
// say whether contact is in roster only once on creating window
|
if (contact != NULL) {
|
||||||
if (contact == NULL) {
|
|
||||||
cons_show("%s is not one of your contacts.");
|
|
||||||
} else {
|
|
||||||
if (strcmp(p_contact_show(contact), "offline") == 0) {
|
if (strcmp(p_contact_show(contact), "offline") == 0) {
|
||||||
const char const *show = p_contact_show(contact);
|
const char const *show = p_contact_show(contact);
|
||||||
const char const *status = p_contact_status(contact);
|
const char const *status = p_contact_status(contact);
|
||||||
|
|||||||
Reference in New Issue
Block a user