From 2ed82b89586d8e6e4f4f760eca3e69565c5ecf83 Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Sun, 24 Dec 2023 20:27:32 -0500 Subject: [PATCH] Always show nearby toasts if using chatbar or message panel isn't visible --- indra/newview/llfloaterimnearbychathandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llfloaterimnearbychathandler.cpp b/indra/newview/llfloaterimnearbychathandler.cpp index 9da301cf57f..bce260126ef 100644 --- a/indra/newview/llfloaterimnearbychathandler.cpp +++ b/indra/newview/llfloaterimnearbychathandler.cpp @@ -835,7 +835,7 @@ void LLFloaterIMNearbyChatHandler::processChat(const LLChat& chat_msg, //Will show toast when chat preference is set static LLCachedControl<bool> sChatInWindow(gSavedSettings, "AlchemyNearbyChatInput", true); - if((gSavedSettings.getString("NotificationNearbyChatOptions") == "toast") || (sChatInWindow)) + if((gSavedSettings.getString("NotificationNearbyChatOptions") == "toast") || (sChatInWindow || !nearby_chat->isMessagePanelVisible())) { // Add a nearby chat toast. LLUUID id; -- GitLab