EXT-4872 FIXED hiding Start IM button for ad-hoc call invitation
Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/658/ --HG-- branch : product-enginemeow-7.2.2
parent
36bf984b03
commit
2112f333bd
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue