summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterconversationlog.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-05-20 00:19:20 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-05-20 04:22:24 +0300
commit87b333f9cfb4cd7efc3aa38bcd94cc62ecbec1e8 (patch)
treee4146af03ada1439a610f3fb8cde469adae6a264 /indra/newview/llfloaterconversationlog.cpp
parentbbc850997cd095188127d971f6cb90052615849a (diff)
#5809 Add 'mute' based filter for conversation history
- Don't add blocked conversations - Menus and global setting to control this mechanics - Refresh on changes Decided just not to add blocked conversation to the list, an alternate way is to alter visibility logic or filter logic
Diffstat (limited to 'indra/newview/llfloaterconversationlog.cpp')
-rw-r--r--indra/newview/llfloaterconversationlog.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llfloaterconversationlog.cpp b/indra/newview/llfloaterconversationlog.cpp
index 97399c9cf7..40e2d2bf1e 100644
--- a/indra/newview/llfloaterconversationlog.cpp
+++ b/indra/newview/llfloaterconversationlog.cpp
@@ -100,6 +100,10 @@ void LLFloaterConversationLog::onCustomAction (const LLSD& userdata)
{
mConversationLogList->toggleSortFriendsOnTop();
}
+ else if ("show_blocked" == command_name)
+ {
+ gSavedSettings.setBOOL("ShowBlockedConvHistory", !gSavedSettings.getBOOL("ShowBlockedConvHistory"));
+ }
else if ("view_nearby_chat_history" == command_name)
{
LLFloaterReg::showInstance("preview_conversation", LLSD(LLUUID::null), true);
@@ -129,6 +133,10 @@ bool LLFloaterConversationLog::isActionChecked(const LLSD& userdata)
{
return gSavedSettings.getBOOL("SortFriendsFirst");
}
+ else if ("show_blocked" == command_name)
+ {
+ return gSavedSettings.getBOOL("ShowBlockedConvHistory");
+ }
return false;
}