pidgin: 2dfb64bc: Add switchboard users to the chat instea...

masca at cpw.pidgin.im masca at cpw.pidgin.im
Thu Nov 4 15:45:47 EDT 2010


----------------------------------------------------------------------
Revision: 2dfb64bc744cbdfa05ad4ebc9d940e9f078650ef
Parent:   3f45fb467a368f69da5333f03c401698d89d14bc
Author:   masca at cpw.pidgin.im
Date:     11/04/10 15:40:28
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/2dfb64bc744cbdfa05ad4ebc9d940e9f078650ef

Changelog: 

Add switchboard users to the chat instead of adding always the same user as Elliot and Stu pointed out.

Changes against parent 3f45fb467a368f69da5333f03c401698d89d14bc

  patched  libpurple/protocols/msn/switchboard.c

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/switchboard.c	f18d56f3ddf75f76758949e2d6469f736d3e3fd0
+++ libpurple/protocols/msn/switchboard.c	bea9933395ce381fb3ccc2996f89b09191c1f929
@@ -325,9 +325,8 @@ msn_switchboard_add_user(MsnSwitchBoard 
 			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);


More information about the Commits mailing list