diff options
author | maksymsproductengine <maksymsproductengine@lindenlab.com> | 2013-08-13 20:25:49 +0300 |
---|---|---|
committer | maksymsproductengine <maksymsproductengine@lindenlab.com> | 2013-08-13 20:25:49 +0300 |
commit | 6505ddb204082a0d327fb09210f2811be265e706 (patch) | |
tree | e5916106d022f373815308ad6c1f9ec50c9a9fc7 /indra | |
parent | f6c7b7ac76725a2364f323aba671d12b6cd552a8 (diff) |
MAINT-2937 FIXED [CHUI] crash in LLToastIMPanel
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/newview/lltoastimpanel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltoastimpanel.cpp b/indra/newview/lltoastimpanel.cpp index 025ef3945d..09ab31df36 100755 --- a/indra/newview/lltoastimpanel.cpp +++ b/indra/newview/lltoastimpanel.cpp @@ -63,7 +63,7 @@ LLToastIMPanel::LLToastIMPanel(LLToastIMPanel::Params &p) : LLToastPanel(p.notif style_params.font.size(font_size); LLIMModel::LLIMSession* im_session = LLIMModel::getInstance()->findIMSession(p.session_id); - mIsGroupMsg = (im_session->mSessionType == LLIMModel::LLIMSession::GROUP_SESSION); + mIsGroupMsg = (im_session && im_session->mSessionType == LLIMModel::LLIMSession::GROUP_SESSION); if(mIsGroupMsg) { mAvatarName->setValue(im_session->mName); |