diff options
author | Eli Linden <eli@lindenlab.com> | 2010-01-26 14:33:28 -0800 |
---|---|---|
committer | Eli Linden <eli@lindenlab.com> | 2010-01-26 14:33:28 -0800 |
commit | a87cbadf16cb8a32ea78fb605403472ee866bccf (patch) | |
tree | 07b4eb3d31491ca30d02952442ce53b1cd426c55 /indra/newview/llavataractions.cpp | |
parent | 3f7ed7ef1de1012e3bea719e8042a256deb10ac3 (diff) | |
parent | fee564c26e1018787cf70b95fc677c1da447118c (diff) |
Merge
Diffstat (limited to 'indra/newview/llavataractions.cpp')
-rw-r--r-- | indra/newview/llavataractions.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llavataractions.cpp b/indra/newview/llavataractions.cpp index bb14c41cec..7eed2e7b9a 100644 --- a/indra/newview/llavataractions.cpp +++ b/indra/newview/llavataractions.cpp @@ -250,17 +250,20 @@ void LLAvatarActions::startAdhocCall(const std::vector<LLUUID>& ids) make_ui_sound("UISndStartIM"); } +/* AD *TODO: Is this function needed any more? + I fixed it a bit(added check for canCall), but it appears that it is not used + anywhere. Maybe it should be removed? // static bool LLAvatarActions::isCalling(const LLUUID &id) { - if (id.isNull()) + if (id.isNull() || !canCall()) { return false; } LLUUID session_id = gIMMgr->computeSessionID(IM_NOTHING_SPECIAL, id); return (LLIMModel::getInstance()->findIMSession(session_id) != NULL); -} +}*/ //static bool LLAvatarActions::canCall() |