summaryrefslogtreecommitdiff
path: root/indra/newview/llnotificationofferhandler.cpp
diff options
context:
space:
mode:
authorIgor Borovkov <iborovkov@productengine.com>2009-12-26 16:59:30 +0200
committerIgor Borovkov <iborovkov@productengine.com>2009-12-26 16:59:30 +0200
commite82442736871e5f0ac4a1c402e3c2209ae761ea1 (patch)
tree819107155a606c1190ed95000ea6419ea444a87e /indra/newview/llnotificationofferhandler.cpp
parentdaed86bbb0fa1ee394a83d597cd5846809d14ba3 (diff)
parent504020425efe5f3b40c79e1afa2de5f0587b56f4 (diff)
merge
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llnotificationofferhandler.cpp')
-rw-r--r--indra/newview/llnotificationofferhandler.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/llnotificationofferhandler.cpp b/indra/newview/llnotificationofferhandler.cpp
index 5861a802e9..dd66a6c507 100644
--- a/indra/newview/llnotificationofferhandler.cpp
+++ b/indra/newview/llnotificationofferhandler.cpp
@@ -105,9 +105,7 @@ bool LLOfferHandler::processNotification(const LLSD& notify)
{
if (LLHandlerUtil::canSpawnIMSession(notification))
{
- const std::string name = notification->getSubstitutions().has(
- "NAME") ? notification->getSubstitutions()["NAME"]
- : notification->getSubstitutions()["[NAME]"];
+ const std::string name = LLHandlerUtil::getSubstitutionName(notification);
LLUUID from_id = notification->getPayload()["from_id"];