summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAlexei Arabadji <aarabadji@productengine.com>2010-02-18 17:51:06 +0200
committerAlexei Arabadji <aarabadji@productengine.com>2010-02-18 17:51:06 +0200
commit1933a378ea9082c6603f29964d2a8214e3142638 (patch)
treea5bb688925d40fed39e495ff2ff3a8bac97826e5 /indra/newview
parenteec9f20d746805e772d38f8b338d882a6afb8df1 (diff)
Corrected embedded notification panel message index in session list;
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llnotificationhandlerutil.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llnotificationhandlerutil.cpp b/indra/newview/llnotificationhandlerutil.cpp
index c30a4fb253..c187ee7bf2 100644
--- a/indra/newview/llnotificationhandlerutil.cpp
+++ b/indra/newview/llnotificationhandlerutil.cpp
@@ -266,6 +266,7 @@ void LLHandlerUtil::addNotifPanelToIM(const LLNotificationPtr& notification)
offer["from_id"] = notification->getPayload()["from_id"];
offer["from"] = name;
offer["time"] = LLLogChat::timestamp(true);
+ offer["index"] = (LLSD::Integer)session->mMsgs.size();
session->mMsgs.push_front(offer);
LLIMFloater::show(session_id);