diff src/protocols/yahoo/yahoo.c @ 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 580bd39219a2
children 66d9440db6ec
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