diff options
author | Dessie Linden <dessie@lindenlab.com> | 2010-06-25 12:39:46 -0700 |
---|---|---|
committer | Dessie Linden <dessie@lindenlab.com> | 2010-06-25 12:39:46 -0700 |
commit | 9aad318fb9b9480a87d87db902dd2f064d9348af (patch) | |
tree | 2ee6663288dd21f03444a435addbb1925dd389e6 /indra/newview/llimview.cpp | |
parent | 18a476daceccd337e990eec367cac5b985c8836f (diff) | |
parent | 62cd50fe1edd67308cf0a2e5407bd4005e705681 (diff) |
Merged from viewer-release
Diffstat (limited to 'indra/newview/llimview.cpp')
-rw-r--r-- | indra/newview/llimview.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index ddfcd68e38..6d3998bb96 100644 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -1898,8 +1898,6 @@ BOOL LLIncomingCallDialog::postBuild() // check to see if this is an Avaline call bool is_avatar = LLVoiceClient::getInstance()->isParticipantAvatar(session_id); - childSetVisible("Start IM", is_avatar); // no IM for avaline - if (caller_name == "anonymous") { caller_name = getString("anonymous"); @@ -1931,6 +1929,10 @@ BOOL LLIncomingCallDialog::postBuild() mLifetimeTimer.stop(); } + //it's not possible to connect to existing Ad-Hoc chat through incoming ad-hoc call + //and no IM for avaline + childSetVisible("Start IM", is_avatar && notify_box_type != "VoiceInviteAdHoc"); + setCanDrag(FALSE); return TRUE; |