summaryrefslogtreecommitdiff
path: root/indra/newview/llimconversation.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2012-06-29 11:59:14 -0700
committerMerov Linden <merov@lindenlab.com>2012-06-29 11:59:14 -0700
commit71deb6d500238900bf7bf62cf957a68c063ade56 (patch)
tree01ffc362dd9eaf40e2e238a6e7698f0083284b40 /indra/newview/llimconversation.cpp
parent7ce18c710fd573c94dd78eee2ac18cfef69c651e (diff)
CHUI-164 : Fix crash when removing ad-hoc conversation. Turns out that sessions uuids are not constant so I shouldn't use them as index in the conversation list. More complete fix to follow.
Diffstat (limited to 'indra/newview/llimconversation.cpp')
-rw-r--r--indra/newview/llimconversation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llimconversation.cpp b/indra/newview/llimconversation.cpp
index c734c3edd2..d7ef65edb6 100644
--- a/indra/newview/llimconversation.cpp
+++ b/indra/newview/llimconversation.cpp
@@ -359,7 +359,7 @@ void LLIMConversation::onClose(bool app_quitting)
LLIMFloaterContainer* im_box = LLIMFloaterContainer::findInstance();
if (im_box)
{
- im_box->removeConversationListItem(mSessionID);
+ im_box->removeConversationListItem(mSessionID,this);
}
}
}