diff options
author | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2013-05-22 15:16:45 +0300 |
---|---|---|
committer | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2013-05-22 15:16:45 +0300 |
commit | 34142d3f44d8f2a6fa5fb1ccf03f1ade1730c881 (patch) | |
tree | e86da7e9b03fab345f173344c4fccae0a9f07d2a /indra/newview | |
parent | 3187ee18e1fa5a8b3f719f26f32b01b817791a4e (diff) |
CHUI-841 FIXED Show warning toast even if Nearby chat is open
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llnotificationtiphandler.cpp | 7 |
1 files changed, 0 insertions, 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<LLFloaterIMNearbyChat>("nearby_chat"); - if (nearby_chat->isChatVisible()) - { - return false; - } } std::string session_name = notification->getPayload()["SESSION_NAME"]; |