diff options
author | Cho <cho@lindenlab.com> | 2013-01-29 00:16:40 +0000 |
---|---|---|
committer | Cho <cho@lindenlab.com> | 2013-01-29 00:16:40 +0000 |
commit | 44b681f5db9435f98d52525621aa98b0a8ed3063 (patch) | |
tree | 553f5c932b4ae1b1b0d161056130adbb9b2b0ded /indra/newview/llfloaterimsession.cpp | |
parent | c1b8e4b1ffcb9c759d109d603004f363dbb0df63 (diff) |
CHUI-644 FIX [CHUIBUG]Received IM's Don't Always Appear in Communication Console Immediately.
Removed new code from on_new_message in LLIMView and instead, changed condition in LLFloaterIMSession::newIMCallback to update messages whenever the floater is visible
Diffstat (limited to 'indra/newview/llfloaterimsession.cpp')
-rw-r--r-- | indra/newview/llfloaterimsession.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloaterimsession.cpp b/indra/newview/llfloaterimsession.cpp index a08479c7be..31d2c67e29 100644 --- a/indra/newview/llfloaterimsession.cpp +++ b/indra/newview/llfloaterimsession.cpp @@ -162,7 +162,7 @@ void LLFloaterIMSession::newIMCallback(const LLSD& data) LLFloaterIMSession* floater = LLFloaterReg::findTypedInstance<LLFloaterIMSession>("impanel", session_id); // update if visible, otherwise will be updated when opened - if (floater && (floater->getHost()? floater->hasFocus() : floater->getVisible())) + if (floater && floater->isInVisibleChain()) { floater->updateMessages(); } |