diff options
author | Merov Linden <merov@lindenlab.com> | 2012-10-05 20:28:11 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2012-10-05 20:28:11 -0700 |
commit | db452823e5cc615225f3f163d827954447cf9bd8 (patch) | |
tree | e245beb0e4a0a1c55458a22c3e15caca6f5172a3 /indra/newview/llimfloatercontainer.cpp | |
parent | aeeeae2690c9ea612667ed46021e17cb083510e5 (diff) |
CHUI-194 : WIP : Update the ad-hoc conversation line item title, add a new update_session event. Still some clean up to do.
Diffstat (limited to 'indra/newview/llimfloatercontainer.cpp')
-rw-r--r-- | indra/newview/llimfloatercontainer.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/indra/newview/llimfloatercontainer.cpp b/indra/newview/llimfloatercontainer.cpp index 4022ebdf5b..7c5aaa7d0f 100644 --- a/indra/newview/llimfloatercontainer.cpp +++ b/indra/newview/llimfloatercontainer.cpp @@ -466,7 +466,11 @@ bool LLIMFloaterContainer::onConversationModelEvent(const LLSD& event) participant_view->refresh(); } } - + else if (type == "update_session") + { + session_view->refresh(); + } + mConversationViewModel.requestSortAll(); mConversationsRoot->arrangeAll(); @@ -1111,7 +1115,7 @@ void LLIMFloaterContainer::addConversationListItem(const LLUUID& uuid) removeConversationListItem(uuid,false); // Create a conversation session model - LLConversationItem* item = NULL; + LLConversationItemSession* item = NULL; LLSpeakerMgr* speaker_manager = (is_nearby_chat ? (LLSpeakerMgr*)(LLLocalSpeakerMgr::getInstance()) : LLIMModel::getInstance()->getSpeakerManager(uuid)); if (speaker_manager) { @@ -1123,6 +1127,7 @@ void LLIMFloaterContainer::addConversationListItem(const LLUUID& uuid) return; } item->renameItem(display_name); + item->updateParticipantName(NULL); mConversationsItems[uuid] = item; |