summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Borovkov <iborovkov@productengine.com>2009-10-26 08:16:20 +0200
committerIgor Borovkov <iborovkov@productengine.com>2009-10-26 08:16:20 +0200
commitb544e125a4015550faf274904ac6d049e5fe5760 (patch)
tree7274a466b574cd533910061d8a03e0a9e6691bc5
parent4ddaa866dde7a92e56617a32464e0667de3759ef (diff)
IM minor refactoring: removed unused LLIMMgr::isIMSessionOpen(...) - duplicate of LLIMMgr::hasSession(...)
--HG-- branch : product-engine
-rw-r--r--indra/newview/llimview.cpp9
-rw-r--r--indra/newview/llimview.h5
2 files changed, 0 insertions, 14 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp
index b631c991ae..8d72ffdfcc 100644
--- a/indra/newview/llimview.cpp
+++ b/indra/newview/llimview.cpp
@@ -1458,15 +1458,6 @@ BOOL LLIMMgr::getIMReceived() const
return mIMReceived;
}
-// This method returns TRUE if the local viewer has a session
-// currently open keyed to the uuid.
-BOOL LLIMMgr::isIMSessionOpen(const LLUUID& uuid)
-{
- LLFloaterIMPanel* floater = findFloaterBySession(uuid);
- if(floater) return TRUE;
- return FALSE;
-}
-
LLUUID LLIMMgr::addP2PSession(const std::string& name,
const LLUUID& other_participant_id,
const std::string& voice_session_handle,
diff --git a/indra/newview/llimview.h b/indra/newview/llimview.h
index 68beb29034..79513fb7d5 100644
--- a/indra/newview/llimview.h
+++ b/indra/newview/llimview.h
@@ -200,11 +200,6 @@ public:
void addSystemMessage(const LLUUID& session_id, const std::string& message_name, const LLSD& args);
- // This method returns TRUE if the local viewer has a session
- // currently open keyed to the uuid. The uuid can be keyed by
- // either session id or agent id.
- BOOL isIMSessionOpen(const LLUUID& uuid);
-
// This adds a session to the talk view. The name is the local
// name of the session, dialog specifies the type of
// session. Since sessions can be keyed off of first recipient or