# HG changeset patch # User Etan Reisner # Date 1250213667 0 # Node ID 2b9da4c0c47b4c39dca3e71e6184d1b2be890591 # Parent 25ad8f6b2638fbe540c84c30e04bcc5f03c5d3c8 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 diff -r 25ad8f6b2638 -r 2b9da4c0c47b libpurple/protocols/jabber/disco.c --- 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)