summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorGilbert Gonzales <gilbert@lindenlab.com>2012-11-05 17:39:29 -0800
committerGilbert Gonzales <gilbert@lindenlab.com>2012-11-05 17:39:29 -0800
commit37c416dee38a082aada799f0430022bd3051e54a (patch)
tree3a811632e4406abf71b7c9bbccec98b91fcd404c /indra/newview
parent749416fa7f9543c2b8a06e186b80c5e8ae354cb0 (diff)
CHUI-479: Problem: The parent folder's view model did not store the session id. Because of this, the speaker indicator would be set to a session id of null (nearby chat). Solution: Now when the folder view model is created in the torn off list, pass in the session id. This allows the folder view model to know which session id it belongs to. Participants can then look at the parent folder (folder view) and retrieve the session id.
Diffstat (limited to 'indra/newview')
-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 de769d95ac..3e42e0b4ef 100644
--- a/indra/newview/llimconversation.cpp
+++ b/indra/newview/llimconversation.cpp
@@ -187,7 +187,7 @@ BOOL LLIMConversation::postBuild()
mParticipantListPanel = getChild<LLLayoutPanel>("speakers_list_panel");
// Create a root view folder for all participants
- LLConversationItem* base_item = new LLConversationItem(mConversationViewModel);
+ LLConversationItem* base_item = new LLConversationItem(mSessionID, mConversationViewModel);
LLFolderView::Params p(LLUICtrlFactory::getDefaultParams<LLFolderView>());
p.rect = LLRect(0, 0, getRect().getWidth(), 0);
p.parent_panel = mParticipantListPanel;