[LLIMMgr/LLIMPanel] Woops, only allow invites to Adhocs!!

This commit is contained in:
Inusaito Sayori
2013-11-22 18:41:34 -05:00
parent 2d66022727
commit 7d98cf1891

View File

@@ -874,7 +874,7 @@ BOOL LLFloaterIMPanel::handleDragAndDrop(S32 x, S32 y, MASK mask, BOOL drop,
}
// handle case for dropping calling cards (and folders of calling cards) onto invitation panel for invites
else
else if (isInviteAllowed())
{
*accept = ACCEPT_NO;
@@ -944,7 +944,7 @@ BOOL LLFloaterIMPanel::dropCategory(LLInventoryCategory* category, BOOL drop)
bool LLFloaterIMPanel::isInviteAllowed() const
{
return mSessionType != P2P_SESSION;
return mSessionType == ADHOC_SESSION;
}
void LLFloaterIMPanel::removeDynamics(LLComboBox* flyout)