changeset 7664:e4264f71fac7

[gaim-migrate @ 8308] Tim Ringenbach (marv_sf) fixed bug 851184, with the following comment: " This should fix bug 851184, which I tracked down to the autojoining of chat's crashing. Basicly we were setting the display name about 2 lines too late." committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sun, 30 Nov 2003 02:53:05 +0000
parents 86be4a8dc0a5
children 0351ff7030d0
files src/protocols/yahoo/yahoo.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Sat Nov 29 21:24:33 2003 +0000
+++ b/src/protocols/yahoo/yahoo.c	Sun Nov 30 02:53:05 2003 +0000
@@ -308,9 +308,9 @@
 			break;
 		case 1: /* we don't get the full buddy list here. */
 			if (!yd->logged_in) {
+				gaim_connection_set_display_name(gc, pair->value);
 				gaim_connection_set_state(gc, GAIM_CONNECTED);
 				serv_finish_login(gc);
-				gaim_connection_set_display_name(gc, pair->value);
 				yd->logged_in = TRUE;
 
 				/* this requests the list. i have a feeling that this is very evil