Fix issue with persistent notifications. open_notifications.xml was accumulating inaccessible notifications. Added MaxPersistentNotifications to cap notifications. Notifications new stored per account per grid. Startup should be faster too.

This commit is contained in:
Shyotl
2020-05-09 04:50:01 -05:00
parent 3c3d8c2400
commit 61f90c665a
5 changed files with 99 additions and 42 deletions

View File

@@ -5084,6 +5084,10 @@ void LLAppViewer::handleLoginComplete()
}
mOnLoginCompleted();
// Singu Note: This would usually be registered via mOnLoginCompleted, but that would require code in newview regardless so.. just call directly here.
LLNotifications::instance().onLoginCompleted();
// Singu Note: Due to MAINT-4001, we must do this here, it lives in LLSidepanelInventory::updateInbox upstream.
// Consolidate Received items
// We shouldn't have to do that but with a client/server system relying on a "well known folder" convention,