diff options
| author | Darl <me@darl.cat> | 2026-04-20 18:22:52 -0500 |
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2026-04-21 21:53:41 +0300 |
| commit | f0b083c5e5223ec2e6c4f6a6761ce9480239d1de (patch) | |
| tree | 01eb4c73eed175603414b5b319529c77e81fb18e /indra/newview/llmutelist.cpp | |
| parent | e03869c4482bdfab1b8b5a3170f96bcd8c4e2a3a (diff) | |
LLMuteList::isLoadedFromServer should also include MLS_SERVER_CACHE
This fixes a bug where the user logs in with good cache, server issues use-cached response, and then the viewer would send another mutelist request on region change.
Signed-off-by: Darl <me@darl.cat>
Diffstat (limited to 'indra/newview/llmutelist.cpp')
| -rw-r--r-- | indra/newview/llmutelist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llmutelist.cpp b/indra/newview/llmutelist.cpp index b72301c566..0015bd09fb 100644 --- a/indra/newview/llmutelist.cpp +++ b/indra/newview/llmutelist.cpp @@ -879,7 +879,7 @@ void LLMuteList::requestFromServer(const LLUUID& agent_id) void LLMuteList::cache(const LLUUID& agent_id) { // Write to disk even if empty, but never from degraded fallback state. - if (isLoaded() && mLoadSource != MLS_FALLBACK_CACHE) + if (isLoaded() && !isLoadedDegraded()) { const std::string filename = getCacheFilename(agent_id); saveToFile(filename); |
