Moved cons_show_status() to console module

This commit is contained in:
James Booth
2013-04-21 01:13:35 +01:00
parent d7cc54db63
commit 688eea083b
4 changed files with 65 additions and 64 deletions

View File

@@ -584,6 +584,18 @@ cons_show_disco_items(GSList *items, const char * const jid)
}
}
void
cons_show_status(const char * const contact)
{
PContact pcontact = contact_list_get_contact(contact);
if (pcontact != NULL) {
window_show_contact(console, pcontact);
} else {
cons_show("No such contact \"%s\" in roster.", contact);
}
}
static void
_cons_splash_logo(void)
{