diff options
author | Alexei Arabadji <aarabadji@productengine.com> | 2009-11-13 18:11:11 +0200 |
---|---|---|
committer | Alexei Arabadji <aarabadji@productengine.com> | 2009-11-13 18:11:11 +0200 |
commit | e310e18481b5a69b2a7e0ae89d8491cc601d3af0 (patch) | |
tree | f75f2f80bce65a5ac7c624875b39894b986be0fe /indra/newview/llnotificationofferhandler.cpp | |
parent | 74d5a6605bac7ae76889ce3697fc8f59d982d675 (diff) |
implemented EXT-1286 "Need support for [ITEM_ICON], [AN_OBJECTTYPE], [ITEM_SLURL], in notifications.xml"
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llnotificationofferhandler.cpp')
-rw-r--r-- | indra/newview/llnotificationofferhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llnotificationofferhandler.cpp b/indra/newview/llnotificationofferhandler.cpp index 471dd28426..94e733913d 100644 --- a/indra/newview/llnotificationofferhandler.cpp +++ b/indra/newview/llnotificationofferhandler.cpp @@ -96,11 +96,11 @@ bool LLOfferHandler::processNotification(const LLSD& notify) if (!LLIMMgr::instance().hasSession(session_id)) { session_id = LLIMMgr::instance().addSession( - notification->getSubstitutions()["NAME"], IM_NOTHING_SPECIAL, + notification->getSubstitutions()["OBJECTFROMNAME"], IM_NOTHING_SPECIAL, notification->getPayload()["from_id"]); } LLIMMgr::instance().addMessage(session_id, LLUUID(), - notification->getSubstitutions()["NAME"], + notification->getSubstitutions()["OBJECTFROMNAME"], notification->getMessage()); LLToastNotifyPanel* notify_box = new LLToastNotifyPanel(notification); |