changeset 27914:2b9da4c0c47b

Reverse the list of conference servers we find so that the first one in the disco result is the one we present to the user in the Join a Chat and Room List dialogs. Refs #9347
author Etan Reisner <pidgin@unreliablesource.net>
date Fri, 14 Aug 2009 01:34:27 +0000
parents 25ad8f6b2638
children a40e0b43f57f
files libpurple/protocols/jabber/disco.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/disco.c	Fri Aug 14 00:37:34 2009 +0000
+++ b/libpurple/protocols/jabber/disco.c	Fri Aug 14 01:34:27 2009 +0000
@@ -302,6 +302,8 @@
 			}
 		}
 
+		js->chat_servers = g_list_reverse(js->chat_servers);
+
 		capabilities |= JABBER_CAP_RETRIEVED;
 
 		if(jbr)