summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelexperiences.cpp
diff options
context:
space:
mode:
authordolphin <dolphin@lindenlab.com>2013-02-13 14:20:35 -0800
committerdolphin <dolphin@lindenlab.com>2013-02-13 14:20:35 -0800
commit61874872a7b4b8909f835650ab6732e24c61ffa2 (patch)
tree4fad319c3a4adc527247a41b99e9072a6e043181 /indra/newview/llpanelexperiences.cpp
parentb03918c73d47290597bdf101d9b013ebfab1f95f (diff)
Updated experience cache to latest web service api
Added new CAP request for experiences the avatar can sign
Diffstat (limited to 'indra/newview/llpanelexperiences.cpp')
-rw-r--r--indra/newview/llpanelexperiences.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llpanelexperiences.cpp b/indra/newview/llpanelexperiences.cpp
index 02a3c4c410..617ceef615 100644
--- a/indra/newview/llpanelexperiences.cpp
+++ b/indra/newview/llpanelexperiences.cpp
@@ -56,7 +56,7 @@ public:
{
LLUUID public_key = it->asUUID();
- LLExperienceCache::get(public_key, LLExperienceCache::PUBLIC_KEY, boost::bind(ExperienceResult, mParent, _1));
+ LLExperienceCache::get(public_key, boost::bind(ExperienceResult, mParent, _1));
}
}
};
@@ -73,9 +73,9 @@ void LLPanelExperiences::addExperienceInfo(const LLSD& experience)
item->setExperienceName(experience["error"].asString());
}
- if(experience.has(LLExperienceCache::PUBLIC_KEY))
+ if(experience.has(LLExperienceCache::DESCRIPTION))
{
- item->setExperienceDescription(experience[LLExperienceCache::PUBLIC_KEY].asString());
+ item->setExperienceDescription(experience[LLExperienceCache::DESCRIPTION].asString());
}
mExperiencesList->addItem(item);
@@ -228,7 +228,7 @@ void LLExperienceItem::init( LLSD* experience_data )
{
if(experience_data)
{
- setExperienceDescription(experience_data->has(LLExperienceCache::PUBLIC_KEY)?(*experience_data)[LLExperienceCache::PUBLIC_KEY].asString() : std::string());
+ setExperienceDescription(experience_data->has(LLExperienceCache::DESCRIPTION)?(*experience_data)[LLExperienceCache::DESCRIPTION].asString() : std::string());
setExperienceName(experience_data->has(LLExperienceCache::NAME)?(*experience_data)[LLExperienceCache::NAME].asString() : std::string());
}
}