diff options
author | Alexander Gavriliuk <alexandrgproductengine@lindenlab.com> | 2023-10-17 12:01:03 +0200 |
---|---|---|
committer | Guru <alexandrgproductengine@lindenlab.com> | 2023-10-17 15:31:21 +0200 |
commit | 633865320aee0b2e1c615f2d5a772e5ddc3d9ae2 (patch) | |
tree | 7dbccaef007a0c512b4bd7f232c344436fc241ec /indra/newview/llavatarpropertiesprocessor.cpp | |
parent | 70956fb2dbc42501d27a474e3f80003d591ee646 (diff) |
SL-20163 Rename hide_sl_age to hide_age
Diffstat (limited to 'indra/newview/llavatarpropertiesprocessor.cpp')
-rw-r--r-- | indra/newview/llavatarpropertiesprocessor.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llavatarpropertiesprocessor.cpp b/indra/newview/llavatarpropertiesprocessor.cpp index 1d08e158af..f43ada7abc 100644 --- a/indra/newview/llavatarpropertiesprocessor.cpp +++ b/indra/newview/llavatarpropertiesprocessor.cpp @@ -298,7 +298,10 @@ void LLAvatarPropertiesProcessor::requestAvatarPropertiesCoro(std::string cap_ur || !result.has("id") || agent_id != result["id"].asUUID()) { - LL_WARNS("AvatarProperties") << "Failed to get agent information for id " << agent_id << LL_ENDL; + LL_WARNS("AvatarProperties") << "Failed to get agent information for id " << agent_id + << (!status ? " (no HTTP status)" : !result.has("id") ? " (no result.id)" : + std::string(" (result.id=") + result["id"].asUUID().asString() + ")") + << LL_ENDL; LLAvatarPropertiesProcessor* self = getInstance(); self->removePendingRequest(agent_id, APT_PROPERTIES); self->removePendingRequest(agent_id, APT_PICKS); @@ -320,6 +323,7 @@ void LLAvatarPropertiesProcessor::requestAvatarPropertiesCoro(std::string cap_ur avatar_data.about_text = result["sl_about_text"].asString(); avatar_data.fl_about_text = result["fl_about_text"].asString(); avatar_data.born_on = result["member_since"].asDate(); + avatar_data.hide_age = result["hide_age"].asBoolean(); avatar_data.profile_url = getProfileURL(agent_id.asString()); avatar_data.flags = 0; |