X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=clients%2Fgaim%2Fgaim-dolcon.c;h=7a71f7abcc28cd10f6ef58423f28f96e81ea7dc4;hb=049aedb6ec90e163d2e0cc51ab66f65d18700a86;hp=984f2378d0862e04b3d06482acd65911af36041e;hpb=d5e00af48ff2ab4817b391fb81d423dcd43b04ae;p=doldaconnect.git diff --git a/clients/gaim/gaim-dolcon.c b/clients/gaim/gaim-dolcon.c index 984f237..7a71f7a 100644 --- a/clients/gaim/gaim-dolcon.c +++ b/clients/gaim/gaim-dolcon.c @@ -98,7 +98,7 @@ static void newpeercb(struct dc_fnetpeer *peer) data = peer->fn->udata; if((conv = gaim_find_chat(data->gc, peer->fn->id)) != NULL) { - buf = sprintf2("%i:%s", peer->fn->id, icswcstombs(peer->nick, "UTF-8", NULL)); + buf = sprintf2("%s", icswcstombs(peer->nick, "UTF-8", NULL)); gaim_conv_chat_add_user(GAIM_CONV_CHAT(conv), buf, NULL, GAIM_CBFLAGS_NONE, TRUE); free(buf); } @@ -113,7 +113,7 @@ static void delpeercb(struct dc_fnetpeer *peer) data = peer->fn->udata; if((conv = gaim_find_chat(data->gc, peer->fn->id)) != NULL) { - buf = sprintf2("%i:%s", peer->fn->id, icswcstombs(peer->nick, "UTF-8", NULL)); + buf = sprintf2("%s", icswcstombs(peer->nick, "UTF-8", NULL)); gaim_conv_chat_remove_user(GAIM_CONV_CHAT(conv), buf, NULL); free(buf); }