From e538aaabc77deb48b2a724029ccf21ca1eec6694 Mon Sep 17 00:00:00 2001
From: Andrey Kleshchev <andreykproductengine@lindenlab.com>
Date: Wed, 9 Dec 2020 21:33:11 +0200
Subject: SL-14497 Observers sometimes were notified with wrong flags

---
 indra/newview/llmutelist.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/indra/newview/llmutelist.cpp b/indra/newview/llmutelist.cpp
index f7ad28f9cd..663a6071f7 100644
--- a/indra/newview/llmutelist.cpp
+++ b/indra/newview/llmutelist.cpp
@@ -408,6 +408,8 @@ BOOL LLMuteList::remove(const LLMute& mute, U32 flags)
 		else
 		{
 			// The caller didn't pass any flags -- just remove the mute entry entirely.
+			// set flags to notify observers with (flag being present means that something is allowed)
+			localmute.mFlags = LLMute::flagAll;
 		}
 		
 		// Always remove the entry from the set -- it will be re-added with new flags if necessary.
-- 
cgit v1.2.3