summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerinventory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llviewerinventory.cpp')
-rw-r--r--indra/newview/llviewerinventory.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/indra/newview/llviewerinventory.cpp b/indra/newview/llviewerinventory.cpp
index 6bd86f7902..6f62ba5409 100644
--- a/indra/newview/llviewerinventory.cpp
+++ b/indra/newview/llviewerinventory.cpp
@@ -432,14 +432,7 @@ void LLViewerInventoryItem::fetchFromServer(void) const
{
if (AISAPI::isAvailable()) // AIS v 3
{
- if (gAgent.getID() != mPermissions.getOwner())
- {
- AISAPI::FetchItem(mUUID, AISAPI::LIBRARY);
- }
- else
- {
- AISAPI::FetchItem(mUUID, AISAPI::INVENTORY);
- }
+ LLInventoryModelBackgroundFetch::getInstance()->scheduleItemFetch(mUUID);
}
else
{