EXP-919 FIX -- Toggling InventoryDisplayInbox value to True in Viewer on Agni creates Inbox and Outbox system folders
* The code should no longer create these folders when querying for them. Reviewed by Richardmeow-7.2.2
parent
57017a7a6e
commit
8737446eb7
|
|
@ -783,7 +783,14 @@ BOOL LLInvFVBridge::isCOFFolder() const
|
|||
|
||||
BOOL LLInvFVBridge::isInboxFolder() const
|
||||
{
|
||||
return gInventory.isObjectDescendentOf(mUUID, gInventory.findCategoryUUIDForType(LLFolderType::FT_INBOX));
|
||||
const LLUUID inbox_id = gInventory.findCategoryUUIDForType(LLFolderType::FT_INBOX, false, false);
|
||||
|
||||
if (inbox_id.isNull())
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
return gInventory.isObjectDescendentOf(mUUID, inbox_id);
|
||||
}
|
||||
|
||||
BOOL LLInvFVBridge::isItemPermissive() const
|
||||
|
|
|
|||
Loading…
Reference in New Issue