From 0bd992b07cf17ac0e327cb95d6207883d88a60a3 Mon Sep 17 00:00:00 2001
From: Steven Bennetts <steve@lindenlab.com>
Date: Fri, 7 Sep 2007 22:31:26 +0000
Subject: [PATCH] SL-51287 Muted users not visibly shown anymore SL-54168
 "Users muted by voice are also muted by text". Updated Vivox SDK 2.0.2318.

(josh: This appears to be svn merge -r 68529:69170 svn+ssh://svn/svn/linden/branches/bhear3-maintenance1)
---
 indra/newview/llmutelist.cpp      | 2 +-
 indra/newview/llviewermessage.cpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/indra/newview/llmutelist.cpp b/indra/newview/llmutelist.cpp
index eb0b7e620a7..af86c801ac8 100644
--- a/indra/newview/llmutelist.cpp
+++ b/indra/newview/llmutelist.cpp
@@ -254,7 +254,7 @@ BOOL LLMuteList::add(const LLMute& mute, U32 flags)
 			if (result.second)
 			{
 				llinfos << "Muting " << localmute.mName << " id " << localmute.mID << " flags " << localmute.mFlags << llendl;
-				updateAdd(mute);
+				updateAdd(localmute);
 				notifyObservers();
 				if(!(localmute.mFlags & LLMute::flagParticles))
 				{
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index b27d3d87426..f907ac698e3 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -2151,7 +2151,7 @@ void process_chat_from_simulator(LLMessageSystem *msg, void **user_data)
 	if (gMuteListp)
 	{
 		is_muted = gMuteListp->isMuted(from_id, from_name, LLMute::flagTextChat)
-				   || gMuteListp->isMuted(owner_id);
+				   || gMuteListp->isMuted(owner_id, LLMute::flagTextChat);
 		is_linden = chat.mSourceType != CHAT_SOURCE_OBJECT && gMuteListp->isLinden(from_name);
 	}
 
-- 
GitLab