diff --git a/indra/newview/llnotificationhandlerutil.cpp b/indra/newview/llnotificationhandlerutil.cpp
index 548dca8377..acec8be824 100644
--- a/indra/newview/llnotificationhandlerutil.cpp
+++ b/indra/newview/llnotificationhandlerutil.cpp
@@ -77,9 +77,8 @@ bool LLHandlerUtil::isIMFloaterOpened(const LLNotificationPtr& notification)
LLUUID from_id = notification->getPayload()["from_id"];
LLUUID session_id = LLIMMgr::computeSessionID(IM_NOTHING_SPECIAL, from_id);
// [FS communication UI]
- //LLFloaterIMSession* im_floater = LLFloaterReg::findTypedInstance("impanel", session_id); CHUI Merge new
- //return LLFloaterReg::findTypedInstance("impanel", session_id); CHUI Merge old
- return LLFloaterReg::findTypedInstance("fs_impanel", session_id);
+ //LLFloaterIMSession* im_floater = LLFloaterReg::findTypedInstance("impanel", session_id);
+ FSFloaterIM* im_floater = LLFloaterReg::findTypedInstance("fs_impanel", session_id);
// [FS communication UI]
if (im_floater != NULL)
diff --git a/indra/newview/llnotificationtiphandler.cpp b/indra/newview/llnotificationtiphandler.cpp
index 7a66972c7b..03007b0531 100644
--- a/indra/newview/llnotificationtiphandler.cpp
+++ b/indra/newview/llnotificationtiphandler.cpp
@@ -28,8 +28,10 @@
#include "llviewerprecompiledheaders.h" // must be first include
#include "llfloaterreg.h"
-#include "llfloaterimnearbychat.h"
-#include "llfloaterimnearbychat.h"
+// [FS communication UI]
+//#include "llfloaterimnearbychat.h"
+#include "fsfloaternearbychat.h"
+// [FS communication UI]
#include "llnotificationhandler.h"
#include "llnotifications.h"
#include "lltoastnotifypanel.h"
@@ -86,8 +88,12 @@ bool LLTipHandler::processNotification(const LLNotificationPtr& notification)
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())
+ // [FS communication UI]
+ //LLFloaterIMNearbyChat* nearby_chat = LLFloaterReg::getTypedInstance("nearby_chat");
+ //if (nearby_chat->isChatVisible())
+ FSFloaterNearbyChat* nearby_chat = FSFloaterNearbyChat::getInstance();
+ // [FS communication UI]
+ if (nearby_chat->getVisible())
{
return false;
}