Skip to content
Snippets Groups Projects
Commit 45afaf71 authored by Kitty Barnett's avatar Kitty Barnett
Browse files

- internal : comment out dead code that would start an IM session

--HG--
branch : RLVa
parent 7d012cb3
No related branches found
No related tags found
No related merge requests found
......@@ -346,10 +346,10 @@ public:
*/
static void updateIMFLoaterMesages(const LLUUID& session_id);
/**
* Updates messages of visible IM floater.
*/
static void updateVisibleIMFLoaterMesages(const LLNotificationPtr& notification);
// /**
// * Updates messages of visible IM floater.
// */
// static void updateVisibleIMFLoaterMesages(const LLNotificationPtr& notification);
/**
* Decrements counter of IM messages.
......
......@@ -260,15 +260,15 @@ void LLHandlerUtil::updateIMFLoaterMesages(const LLUUID& session_id)
}
}
// static
void LLHandlerUtil::updateVisibleIMFLoaterMesages(const LLNotificationPtr& notification)
{
const std::string name = LLHandlerUtil::getSubstitutionName(notification);
LLUUID from_id = notification->getPayload()["from_id"];
LLUUID session_id = spawnIMSession(name, from_id);
updateIMFLoaterMesages(session_id);
}
//// static
//void LLHandlerUtil::updateVisibleIMFLoaterMesages(const LLNotificationPtr& notification)
//{
// const std::string name = LLHandlerUtil::getSubstitutionName(notification);
// LLUUID from_id = notification->getPayload()["from_id"];
// LLUUID session_id = spawnIMSession(name, from_id);
//
// updateIMFLoaterMesages(session_id);
//}
// static
void LLHandlerUtil::decIMMesageCounter(const LLNotificationPtr& notification)
......
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