Skip to content
Snippets Groups Projects
Commit 1d47d3d8 authored by Paul ProductEngine's avatar Paul ProductEngine
Browse files

EXP-1489 FIXED (Cannot build notifications not being shown when chat floater...

EXP-1489 FIXED (Cannot build notifications not being shown when chat floater closed with chat log toggled open)

Reason: There is a case when the chat floater is minimized while its visibility = true as well as its chat panel visibility = true. In this case notification won't be shown to the user. It will be shown in chat history which is in minimized floater.
Solution: Check for a floater minimized state.
parent 2a19aa93
No related branches found
No related tags found
No related merge requests found
...@@ -95,7 +95,7 @@ bool LLTipHandler::processNotification(const LLSD& notify) ...@@ -95,7 +95,7 @@ bool LLTipHandler::processNotification(const LLSD& notify)
// don't show toast if Nearby Chat is opened // don't show toast if Nearby Chat is opened
LLNearbyChat* nearby_chat = LLNearbyChat::getInstance(); LLNearbyChat* nearby_chat = LLNearbyChat::getInstance();
LLNearbyChatBar* nearby_chat_bar = LLNearbyChatBar::getInstance(); LLNearbyChatBar* nearby_chat_bar = LLNearbyChatBar::getInstance();
if (nearby_chat_bar->getVisible() && nearby_chat->getVisible()) if (!nearby_chat_bar->isMinimized() && nearby_chat_bar->getVisible() && nearby_chat->getVisible())
{ {
return false; return false;
} }
......
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