summaryrefslogtreecommitdiff
path: root/indra/newview/llgroupactions.cpp
diff options
context:
space:
mode:
authorIgor Borovkov <iborovkov@productengine.com>2009-12-22 16:39:56 +0200
committerIgor Borovkov <iborovkov@productengine.com>2009-12-22 16:39:56 +0200
commit304e321f89e9a517ba90d6b41999a65591639ad9 (patch)
tree0d4cfae37cf60fa40f45a3b761262c216e1b3810 /indra/newview/llgroupactions.cpp
parentc72de2edf0a2f7590fd43d86c59e83afcf7e8bcf (diff)
implemented EXT-3515 Click on IM button for multiple selected Avatars each time creates new IM session
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llgroupactions.cpp')
-rw-r--r--indra/newview/llgroupactions.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/indra/newview/llgroupactions.cpp b/indra/newview/llgroupactions.cpp
index 22658b4d65..7dd8ea694e 100644
--- a/indra/newview/llgroupactions.cpp
+++ b/indra/newview/llgroupactions.cpp
@@ -138,12 +138,7 @@ void LLGroupActions::startCall(const LLUUID& group_id)
}
// start the call
- // *TODO: move this to LLIMMgr?
- LLIMModel::LLIMSession* session = LLIMModel::getInstance()->findIMSession(session_id);
- if (session && session->mSessionInitialized)
- gIMMgr->startCall(session_id);
- else
- gIMMgr->autoStartCallOnStartup(session_id);
+ gIMMgr->autoStartCallOnStartup(session_id);
make_ui_sound("UISndStartIM");
}