summaryrefslogtreecommitdiff
path: root/indra/llui/llnotifications.cpp
diff options
context:
space:
mode:
authorKelly Washington <kelly@lindenlab.com>2012-09-26 14:40:16 -0700
committerKelly Washington <kelly@lindenlab.com>2012-09-26 14:40:16 -0700
commitc6a5b62152ec81b3b01f5c5cf2142178bea30ad8 (patch)
treef520120a5d31ce538d003953468bb994ceeee250 /indra/llui/llnotifications.cpp
parentadce92282bd190f97b377512ce76fe375e0f115a (diff)
MAINT-994 Oskar Linden login issues
* Set max persistent notifications to 250 * Don't register for notification callbacks until after peristent ones are loaded. reviewed with Simon
Diffstat (limited to 'indra/llui/llnotifications.cpp')
-rw-r--r--indra/llui/llnotifications.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/llnotifications.cpp b/indra/llui/llnotifications.cpp
index 629eef2c3b..f449800ffd 100644
--- a/indra/llui/llnotifications.cpp
+++ b/indra/llui/llnotifications.cpp
@@ -1116,6 +1116,11 @@ bool LLNotificationChannel::isEmpty() const
return mItems.empty();
}
+S32 LLNotificationChannel::size() const
+{
+ return mItems.size();
+}
+
LLNotificationChannel::Iterator LLNotificationChannel::begin()
{
return mItems.begin();