Skip to content
Snippets Groups Projects
Commit 0f0d7131 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Make toasts always show when message panel hidden for now

parent 4e53fa68
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
......@@ -597,8 +597,6 @@ void LLFloaterIMNearbyChatHandler::processChat(const LLChat& chat_msg,
// Send event on to LLEventStream
sChatWatcher->post(chat);
LLFloaterIMContainer* im_box = LLFloaterReg::getTypedInstance<LLFloaterIMContainer>("im_container");
if(( ( chat_msg.mSourceType == CHAT_SOURCE_AGENT
&& gSavedSettings.getBOOL("UseChatBubbles") )
|| mChannel.isDead()
......@@ -681,7 +679,7 @@ void LLFloaterIMNearbyChatHandler::processChat(const LLChat& chat_msg,
//}
//Will show toast when chat preference is set
if((gSavedSettings.getString("NotificationNearbyChatOptions") == "toast") || !nearby_chat->isMessagePaneExpanded())
if((gSavedSettings.getString("NotificationNearbyChatOptions") == "toast") || !nearby_chat->isMessagePanelVisible())
{
// Add a nearby chat toast.
LLUUID id;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment