[LLIMMgr/LLIMPanel] isInviteAllowed should return based on mSessionType, not on mDialog.
This commit is contained in:
@@ -949,9 +949,7 @@ BOOL LLFloaterIMPanel::dropCategory(LLInventoryCategory* category, BOOL drop)
|
|||||||
|
|
||||||
bool LLFloaterIMPanel::isInviteAllowed() const
|
bool LLFloaterIMPanel::isInviteAllowed() const
|
||||||
{
|
{
|
||||||
|
return mSessionType != P2P_SESSION;
|
||||||
return ( (IM_SESSION_CONFERENCE_START == mDialog)
|
|
||||||
|| (IM_SESSION_INVITE == mDialog) );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void LLFloaterIMPanel::removeDynamics(LLComboBox* flyout)
|
void LLFloaterIMPanel::removeDynamics(LLComboBox* flyout)
|
||||||
|
|||||||
Reference in New Issue
Block a user