-static void getpeerlistcb(struct dc_fnetnode *fn, int resp, struct conndata *data)
-{
- GaimConversation *conv;
- struct dc_fnetpeer *peer;
-
- if(resp == 200)
- {
- if(gaim_find_chat(data->gc, fn->id) != NULL)
- return;
- conv = serv_got_joined_chat(data->gc, fn->id, icswcstombs(fn->name, "UTF-8", NULL));
- for(peer = fn->peers; peer != NULL; peer = peer->next)
- gaim_conv_chat_add_user(GAIM_CONV_CHAT(conv), icswcstombs(peer->nick, "UTF-8", NULL), NULL, GAIM_CBFLAGS_NONE, FALSE);
- }
-}
-