DEV-50239 - windows 2.0 viewer using 'ruth' as default avatar on SLE grids

The problem, llstartup was parsing the login response indicating the
newuser-config (which contains the default avs) incorrectly.
The response is returned as a map within an array (<array><map>...</map></array>)
We were parsing it as a simple map.
meow-7.2.2
Roxie Linden 2010-05-19 01:15:15 -07:00
parent 61cb3d3113
commit 1f02c1dd32
1 changed files with 1 additions and 1 deletions

View File

@ -3041,7 +3041,7 @@ bool process_login_success_response()
// Default male and female avatars allowing the user to choose their avatar on first login.
// These may be passed up by SLE to allow choice of enterprise avatars instead of the standard
// "new ruth." Not to be confused with 'initial-outfit' below
LLSD newuser_config = response["newuser-config"];
LLSD newuser_config = response["newuser-config"][0];
if(newuser_config.has("DefaultFemaleAvatar"))
{
gSavedSettings.setString("DefaultFemaleAvatar", newuser_config["DefaultFemaleAvatar"].asString());