diff options
Diffstat (limited to 'indra/newview/llchathistory.cpp')
| -rw-r--r-- | indra/newview/llchathistory.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp index 5d2997688f..9798ef3529 100644 --- a/indra/newview/llchathistory.cpp +++ b/indra/newview/llchathistory.cpp @@ -271,9 +271,9 @@ public:  	void mute(const LLUUID& participant_id, U32 flags)  	{  		BOOL is_muted = LLMuteList::getInstance()->isMuted(participant_id, flags); -		std::string name; -		gCacheName->getFullName(participant_id, name); -		LLMute mute(participant_id, name, LLMute::AGENT); +		LLAvatarName av_name; +		LLAvatarNameCache::get(participant_id, &av_name); +		LLMute mute(participant_id, av_name.getUserName(), LLMute::AGENT);  		if (!is_muted)  		{  | 
