diff options
author | Paul Guslisty <pguslisty@productengine.com> | 2010-02-16 10:58:50 +0200 |
---|---|---|
committer | Paul Guslisty <pguslisty@productengine.com> | 2010-02-16 10:58:50 +0200 |
commit | 59e93da87b90acfc51404bac91ca3dc601716c8e (patch) | |
tree | 69e53ab6d1f697258245df16ac9282b390b680a8 /indra/newview/llimfloatercontainer.cpp | |
parent | 41c8ad6efe5ec98a3196c047ea0e4ed2a9ee93bf (diff) |
Fixed major bug EXT - 5400 (erroneously blinking IM tab on group chat message)
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llimfloatercontainer.cpp')
-rw-r--r-- | indra/newview/llimfloatercontainer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llimfloatercontainer.cpp b/indra/newview/llimfloatercontainer.cpp index 3c6692b79a..2f248f3596 100644 --- a/indra/newview/llimfloatercontainer.cpp +++ b/indra/newview/llimfloatercontainer.cpp @@ -110,8 +110,8 @@ void LLIMFloaterContainer::addFloater(LLFloater* floaterp, icon_params.avatar_id = avatar_id; icon = LLUICtrlFactory::instance().createWidget<LLAvatarIconCtrl>(icon_params); - mSessions[avatar_id] = floaterp; - floaterp->mCloseSignal.connect(boost::bind(&LLIMFloaterContainer::onCloseFloater, this, avatar_id)); + mSessions[session_id] = floaterp; + floaterp->mCloseSignal.connect(boost::bind(&LLIMFloaterContainer::onCloseFloater, this, session_id)); } mTabContainer->setTabImage(floaterp, icon); } @@ -123,7 +123,7 @@ void LLIMFloaterContainer::onCloseFloater(LLUUID& id) void LLIMFloaterContainer::onNewMessageReceived(const LLSD& data) { - LLUUID session_id = data["from_id"].asUUID(); + LLUUID session_id = data["session_id"].asUUID(); LLFloater* floaterp = get_ptr_in_map(mSessions, session_id); LLFloater* current_floater = LLMultiFloater::getActiveFloater(); |