diff options
| author | Andrew Polunin <apolunin@productengine.com> | 2009-12-21 18:06:11 +0200 |
|---|---|---|
| committer | Andrew Polunin <apolunin@productengine.com> | 2009-12-21 18:06:11 +0200 |
| commit | 2af9653f0a17122fb38d5bfeb8dae04163d72c05 (patch) | |
| tree | 12ab1fb1f0af63450ed2864cb833951692165712 /indra/newview/llsyswellwindow.cpp | |
| parent | e03a2beeb67cc022056e2ac4caf8493661202d26 (diff) | |
| parent | d08ff06230ecc723eb872117c3c0b1031c08d9fe (diff) | |
merge
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llsyswellwindow.cpp')
| -rw-r--r-- | indra/newview/llsyswellwindow.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/indra/newview/llsyswellwindow.cpp b/indra/newview/llsyswellwindow.cpp index 26f9824f9c..9b60f58be1 100644 --- a/indra/newview/llsyswellwindow.cpp +++ b/indra/newview/llsyswellwindow.cpp @@ -744,9 +744,6 @@ void LLIMWellWindow::sessionAdded(const LLUUID& session_id, { if (mMessageList->getItemByValue(session_id)) return; - // For im sessions started as voice call chiclet gets created on the first incoming message - if (gIMMgr->isVoiceCall(session_id)) return; - if (!gIMMgr->hasSession(session_id)) return; addIMRow(session_id, 0, name, other_participant_id); @@ -905,23 +902,6 @@ bool LLIMWellWindow::hasIMRow(const LLUUID& session_id) return mMessageList->getItemByValue(session_id); } -void LLIMWellWindow::onNewIM(const LLSD& data) -{ - LLUUID from_id = data["from_id"]; - if (from_id.isNull() || gAgentID == from_id) return; - - LLUUID session_id = data["session_id"]; - if (session_id.isNull()) return; - - if (!gIMMgr->isVoiceCall(session_id)) return; - - if (hasIMRow(session_id)) return; - - //first real message, time to create chiclet - addIMRow(session_id); -} - - void LLIMWellWindow::closeAll() { // Generate an ignorable alert dialog if there is an active voice IM sesion |
