diff options
author | Merov Linden <merov@lindenlab.com> | 2012-09-06 16:32:17 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2012-09-06 16:32:17 -0700 |
commit | ee5e689331ff6ba44cebaf9e9fb48f7bc3f590c4 (patch) | |
tree | 4d27af57324725eddf3caf297f0ec24c4c5a29e5 /indra/newview/llconversationmodel.cpp | |
parent | 1229f42ade088f69164b59742305119bacc8f4de (diff) |
CHUI-285 : Completed. Update the names of the participants.
Diffstat (limited to 'indra/newview/llconversationmodel.cpp')
-rw-r--r-- | indra/newview/llconversationmodel.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llconversationmodel.cpp b/indra/newview/llconversationmodel.cpp index aa21b08ec8..fa49987d15 100644 --- a/indra/newview/llconversationmodel.cpp +++ b/indra/newview/llconversationmodel.cpp @@ -193,6 +193,14 @@ LLConversationItemParticipant::LLConversationItemParticipant(const LLUUID& uuid, { } +void LLConversationItemParticipant::onAvatarNameCache(const LLAvatarName& av_name) +{ + mName = av_name.mDisplayName; + // *TODO : we should also store that one, to be used in the tooltip : av_name.mUsername + // *TODO : we need to request or initiate a list resort + mNeedsRefresh = true; +} + void LLConversationItemParticipant::dumpDebugData() { llinfos << "Merov debug : participant, uuid = " << mUUID << ", name = " << mName << ", muted = " << mIsMuted << ", moderator = " << mIsModerator << llendl; |