summaryrefslogtreecommitdiff
path: root/indra/newview/llnotificationstorage.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-05-12 19:39:30 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-05-12 19:39:30 +0100
commit37e84107ad81a71d6ccb9737f7d84bb2ce34a6ff (patch)
tree445adef1eaa5e444711c32d46d30562f842b6e5f /indra/newview/llnotificationstorage.cpp
parent261f2d60548c7ca784840ac5cafe7826dc311f74 (diff)
parent265391fb3f88a97c5af868f3712bb7b06ad630c1 (diff)
merge from viewer-public
Diffstat (limited to 'indra/newview/llnotificationstorage.cpp')
-rw-r--r--indra/newview/llnotificationstorage.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/newview/llnotificationstorage.cpp b/indra/newview/llnotificationstorage.cpp
index 316ff4324c..20b40b4e1d 100644
--- a/indra/newview/llnotificationstorage.cpp
+++ b/indra/newview/llnotificationstorage.cpp
@@ -112,8 +112,8 @@ void LLPersistentNotificationStorage::saveNotifications()
LLNotificationPtr notification = *it;
// After a notification was placed in Persist channel, it can become
- // responded, expired - in this case we are should not save it
- if(notification->isRespondedTo()
+ // responded, expired or canceled - in this case we are should not save it
+ if(notification->isRespondedTo() || notification->isCancelled()
|| notification->isExpired())
{
continue;
@@ -208,7 +208,6 @@ LLNotificationResponderInterface* LLResponderRegistry::createResponder(const std
build_map_t::const_iterator it = sBuildMap.find(notification_name);
if(sBuildMap.end() == it)
{
- llwarns << "Responder for notification \'" << notification_name << "\' is not registered" << llendl;
return NULL;
}
responder_constructor_t ctr = it->second;