summaryrefslogtreecommitdiff
path: root/indra/newview/llimfloater.cpp
diff options
context:
space:
mode:
authorrichard <none@none>2009-11-13 18:28:20 -0800
committerrichard <none@none>2009-11-13 18:28:20 -0800
commit4c4f329acb7792e4713b7e38bd437b9a7d239ec5 (patch)
treecf15c27f8e66a3dfc95644a8673dead729e040d8 /indra/newview/llimfloater.cpp
parent890da1d3914ffb52d0899c333fe8b8c280fe4d34 (diff)
parentf4fdaa8ee9d8016ca23957e78fe246206579723f (diff)
merge
Diffstat (limited to 'indra/newview/llimfloater.cpp')
-rw-r--r--indra/newview/llimfloater.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/indra/newview/llimfloater.cpp b/indra/newview/llimfloater.cpp
index 0f32d0b313..e3121fbc7a 100644
--- a/indra/newview/llimfloater.cpp
+++ b/indra/newview/llimfloater.cpp
@@ -120,11 +120,7 @@ void LLIMFloater::newIMCallback(const LLSD& data){
LLUUID session_id = data["session_id"].asUUID();
LLIMFloater* floater = LLFloaterReg::findTypedInstance<LLIMFloater>("impanel", session_id);
- if (floater == NULL)
- {
- llwarns << "new_im_callback for non-existent session_id " << session_id << llendl;
- return;
- }
+ if (floater == NULL) return;
// update if visible, otherwise will be updated when opened
if (floater->getVisible())
@@ -479,6 +475,7 @@ void LLIMFloater::updateMessages()
LLChat chat;
chat.mFromID = from_id;
chat.mFromName = from;
+ chat.mText = message;
mChatHistory->appendWidgetMessage(chat);