diff --git a/indra/newview/llaisapi.cpp b/indra/newview/llaisapi.cpp index 0bbaf490f0..79fc82fa41 100755 --- a/indra/newview/llaisapi.cpp +++ b/indra/newview/llaisapi.cpp @@ -411,7 +411,18 @@ void AISAPI::InvokeAISCommandCoro(LLCoreHttpUtil::HttpCoroutineAdapter::ptr_t ht { id = result["category_id"]; } - + // - Patch: Appearance-SyncAttach + else if (type == COPYINVENTORY) + { + uuid_list_t ids; + AISUpdate::parseUUIDArray(result, "_created_items", ids); + AISUpdate::parseUUIDArray(result, "_created_categories", ids); + if (!ids.empty()) + { + id = *ids.begin(); + } + } + // callback(id); }