# HG changeset patch # User masca@cpw.pidgin.im # Date 1288899628 0 # Node ID 52dbbedb49089de969c45b4b1e23982d66f20125 # Parent 3c1563a54785975c7d721a2c6209eac27cfcd84a Add switchboard users to the chat instead of adding always the same user as Elliot and Stu pointed out. diff -r 3c1563a54785 -r 52dbbedb4908 libpurple/protocols/msn/switchboard.c --- a/libpurple/protocols/msn/switchboard.c Thu Nov 04 18:23:41 2010 +0000 +++ b/libpurple/protocols/msn/switchboard.c Thu Nov 04 19:40:28 2010 +0000 @@ -325,9 +325,8 @@ for (l = swboard->users; l != NULL; l = l->next) { const char *tmp_user; - user = l->data; - tmp_user = msnuser->passport; + tmp_user = ((MsnUser*)l->data)->passport; purple_conv_chat_add_user(PURPLE_CONV_CHAT(swboard->conv), tmp_user, NULL, PURPLE_CBFLAGS_NONE, TRUE);