summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorCho <cho@lindenlab.com>2013-02-08 19:18:06 +0000
committerCho <cho@lindenlab.com>2013-02-08 19:18:06 +0000
commitec6c132e14e5f405bfa65a052b617cc2ace87bda (patch)
treecc412b90d81e8038ffa31410da5bab7c749d2abc /indra
parent4a0dd9ec76bfc9a3207b0e75608343f29fb26358 (diff)
parent29a57c16c976eb39b3a0e82872435e0228044ba9 (diff)
merging
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llimview.cpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp
index d4c8d8c4f4..2eaef48049 100644
--- a/indra/newview/llimview.cpp
+++ b/indra/newview/llimview.cpp
@@ -107,6 +107,7 @@ void process_dnd_im(const LLSD& notification)
{
LLSD data = notification["substitutions"];
LLUUID sessionID = data["SESSION_ID"].asUUID();
+ LLUUID fromID = data["FROM_ID"].asUUID();
//re-create the IM session if needed
//(when coming out of DND mode upon app restart)
@@ -119,14 +120,22 @@ void process_dnd_im(const LLSD& notification)
{
name = av_name.getDisplayName();
}
-
+
LLIMModel::getInstance()->newSession(sessionID,
name,
IM_NOTHING_SPECIAL,
- data["FROM_ID"],
+ fromID,
false,
false); //will need slight refactor to retrieve whether offline message or not (assume online for now)
+
+ LLFloaterIMContainer* im_box = LLFloaterReg::getTypedInstance<LLFloaterIMContainer>("im_container");
+
+ if (im_box)
+ {
+ im_box->flashConversationItemWidget(sessionID, true);
+ }
+
}
}