CHUI-841 FIXED Show warning toast even if Nearby chat is open

meow-7.2.2
Mnikolenko ProductEngine 2013-05-22 15:16:45 +03:00
parent 3187ee18e1
commit 34142d3f44
1 changed files with 0 additions and 7 deletions

View File

@ -83,13 +83,6 @@ bool LLTipHandler::processNotification(const LLNotificationPtr& notification)
if (notification->canLogToChat())
{
LLHandlerUtil::logToNearbyChat(notification, CHAT_SOURCE_SYSTEM);
// don't show toast if Nearby Chat is opened
LLFloaterIMNearbyChat* nearby_chat = LLFloaterReg::getTypedInstance<LLFloaterIMNearbyChat>("nearby_chat");
if (nearby_chat->isChatVisible())
{
return false;
}
}
std::string session_name = notification->getPayload()["SESSION_NAME"];