From 34142d3f44d8f2a6fa5fb1ccf03f1ade1730c881 Mon Sep 17 00:00:00 2001 From: Mnikolenko ProductEngine Date: Wed, 22 May 2013 15:16:45 +0300 Subject: CHUI-841 FIXED Show warning toast even if Nearby chat is open --- indra/newview/llnotificationtiphandler.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/indra/newview/llnotificationtiphandler.cpp b/indra/newview/llnotificationtiphandler.cpp index a85335f1ba..4ca961c1f9 100644 --- a/indra/newview/llnotificationtiphandler.cpp +++ b/indra/newview/llnotificationtiphandler.cpp @@ -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("nearby_chat"); - if (nearby_chat->isChatVisible()) - { - return false; - } } std::string session_name = notification->getPayload()["SESSION_NAME"]; -- cgit v1.2.3