Removed /ros command

This commit is contained in:
James Booth
2012-10-04 22:09:33 +01:00
parent 65022b3c2f
commit dcf5e9ef16
2 changed files with 1 additions and 33 deletions

View File

@@ -167,24 +167,15 @@ prof_handle_contact_offline(char *contact, char *show, char *status)
void
prof_handle_roster(GSList *roster)
{
cons_show("Roster:");
while (roster != NULL) {
jabber_roster_entry *entry = roster->data;
if (entry->name != NULL) {
cons_show("%s (%s)", entry->name, entry->jid);
} else {
cons_show("%s", entry->jid);
}
// if contact not in contact list add them as offline
if (find_contact(entry->jid) == NULL) {
contact_list_add(entry->jid, "offline", NULL);
}
roster = g_slist_next(roster);
win_page_off();
}
g_slist_free_full(roster, (GDestroyNotify)_free_roster_entry);