summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-12-09 21:33:11 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-12-09 21:33:11 +0200
commite538aaabc77deb48b2a724029ccf21ca1eec6694 (patch)
tree0fa3ea3ca998ef133a01267bd3a655ca30081b00
parentd561756d58613f51f1fc17237225b7a412c51f64 (diff)
SL-14497 Observers sometimes were notified with wrong flags
-rw-r--r--indra/newview/llmutelist.cpp2
1 files changed, 2 insertions, 0 deletions
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.