1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

Moved cons_show_contacts() to console module

This commit is contained in:
James Booth 2013-04-21 01:32:47 +01:00
parent 9f380dae8e
commit bb0f4a3fb2
2 changed files with 14 additions and 14 deletions

View File

@ -1122,6 +1122,20 @@ cons_navigation_help(void)
}
}
void
cons_show_contacts(GSList *list)
{
GSList *curr = list;
while(curr) {
PContact contact = curr->data;
if (strcmp(p_contact_subscription(contact), "none") != 0) {
window_show_contact(console, contact);
}
curr = g_slist_next(curr);
}
}
static void
_cons_splash_logo(void)
{

View File

@ -1145,20 +1145,6 @@ win_room_show_status(const char * const contact)
}
}
void
cons_show_contacts(GSList *list)
{
GSList *curr = list;
while(curr) {
PContact contact = curr->data;
if (strcmp(p_contact_subscription(contact), "none") != 0) {
window_show_contact(console, contact);
}
curr = g_slist_next(curr);
}
}
void
cons_bad_show(const char * const msg, ...)
{