Implemented Low sub-task EXT-2366-ALL Avatar specific buttons on IM P2P control panel should be disabled when interacting with AVALINE caller
--HG-- branch : product-enginemeow-7.2.2
parent
5f8771ea9e
commit
88f71ead30
|
|
@ -173,7 +173,14 @@ void LLPanelIMControlPanel::setSessionId(const LLUUID& session_id)
|
|||
LLIMModel::LLIMSession* im_session =
|
||||
im_model.findIMSession(session_id);
|
||||
if( im_session && !im_session->mOtherParticipantIsAvatar )
|
||||
{
|
||||
childSetEnabled("view_profile_btn", FALSE);
|
||||
childSetEnabled("add_friend_btn", FALSE);
|
||||
|
||||
childSetEnabled("share_btn", FALSE);
|
||||
childSetEnabled("teleport_btn", FALSE);
|
||||
childSetEnabled("pay_btn", FALSE);
|
||||
}
|
||||
}
|
||||
|
||||
void LLPanelIMControlPanel::nameUpdatedCallback(const LLUUID& id, const std::string& first, const std::string& last, BOOL is_group)
|
||||
|
|
|
|||
Loading…
Reference in New Issue