# HG changeset patch
# User John Bailey <rekkanoryo@rekkanoryo.org>
# Date 1248275167 0
# Node ID 05331a8eafb3e978921e4d25d9234788342bd213
# Parent  99baf778e0b93ebbc05dc9849cb53668f8c34aac
Fix #9745 as the submitter suggested.  This doesn't appear to hurt anything.

diff -r 99baf778e0b9 -r 05331a8eafb3 libpurple/protocols/yahoo/libymsg.c
--- a/libpurple/protocols/yahoo/libymsg.c	Wed Jul 22 07:31:40 2009 +0000
+++ b/libpurple/protocols/yahoo/libymsg.c	Wed Jul 22 15:06:07 2009 +0000
@@ -577,6 +577,11 @@
 
 	g_hash_table_foreach(ht, yahoo_do_group_cleanup, NULL);
 
+	/* The reporter of ticket #9745 determined that we weren't retrieving the
+	 * aliases during buddy list retrieval, so we never updated aliases that
+	 * changed while we were signed off. */
+	yahoo_fetch_aliases(gc);
+
 	/* Now that we have processed the buddy list, we can say yahoo has connected */
 	purple_connection_set_display_name(gc, purple_normalize(account, purple_account_get_username(account)));
 	yd->logged_in = TRUE;