diff options
| -rw-r--r-- | indra/newview/llaisapi.cpp | 11 | ||||
| -rw-r--r-- | indra/newview/skins/default/xui/en/notifications.xml | 8 | 
2 files changed, 18 insertions, 1 deletions
diff --git a/indra/newview/llaisapi.cpp b/indra/newview/llaisapi.cpp index fcee3a3e91..4ac2acf1d1 100644 --- a/indra/newview/llaisapi.cpp +++ b/indra/newview/llaisapi.cpp @@ -901,7 +901,16 @@ void AISAPI::InvokeAISCommandCoro(LLCoreHttpUtil::HttpCoroutineAdapter::ptr_t ht                  if (body.has("depth") && body["depth"].asInteger() == 0)                  {                      // Can't fetch a single folder with depth 0, folder is too big. -                    LLNotificationsUtil::add("InventoryLimitReachedAIS"); +                    static bool first_call = true; +                    if (first_call) +                    { +                        first_call = false; +                        LLNotificationsUtil::add("InventoryLimitReachedAISAlert"); +                    } +                    else +                    { +                        LLNotificationsUtil::add("InventoryLimitReachedAIS"); +                    }                      LL_WARNS("Inventory") << "Fetch failed, content is over limit, url: " << url << LL_ENDL;                  }                  else diff --git a/indra/newview/skins/default/xui/en/notifications.xml b/indra/newview/skins/default/xui/en/notifications.xml index 4c8d7fbd83..aa8e6176e1 100644 --- a/indra/newview/skins/default/xui/en/notifications.xml +++ b/indra/newview/skins/default/xui/en/notifications.xml @@ -6441,6 +6441,14 @@ Your trash is overflowing. This may cause problems logging in.    </notification>    <notification +   icon="alertmodal.tga" +   name="InventoryLimitReachedAISAlert" +   type="alertmodal"> +Your inventory is experiencing issues. Please, contact support. +  <tag>fail</tag> +  </notification> + +  <notification     icon="notifytip.tga"     name="InventoryLimitReachedAIS"     type="notifytip">  | 
