diff options
author | Igor Borovkov <iborovkov@productengine.com> | 2009-12-23 14:40:52 +0200 |
---|---|---|
committer | Igor Borovkov <iborovkov@productengine.com> | 2009-12-23 14:40:52 +0200 |
commit | d07fd64b6fc3f4c6af648ec43b84cd82c7e62fc6 (patch) | |
tree | 17059acefad953dcbe05d9e9c60e46f0e5af8650 /indra/newview/llbottomtray.cpp | |
parent | 3f43e07b33942c54bf81aac1d466c3eb771b8a8d (diff) |
finished EXT-1912 Add handling restrictions of PSTN P2P calls in new IM Floaters
chiclets for avaline calls are not spawned anymore
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llbottomtray.cpp')
-rw-r--r-- | indra/newview/llbottomtray.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llbottomtray.cpp b/indra/newview/llbottomtray.cpp index 4d5d416907..976b312509 100644 --- a/indra/newview/llbottomtray.cpp +++ b/indra/newview/llbottomtray.cpp @@ -148,6 +148,12 @@ void LLBottomTray::sessionAdded(const LLUUID& session_id, const std::string& nam { if (!getChicletPanel()) return; + LLIMModel::LLIMSession* session = LLIMModel::getInstance()->findIMSession(session_id); + if (!session) return; + + // no need to spawn chiclets for participants in P2P calls called through Avaline + if (session->isP2P() && session->isOtherParticipantAvaline()) return; + if (getChicletPanel()->findChiclet<LLChiclet>(session_id)) return; LLIMChiclet* chiclet = createIMChiclet(session_id); |