summaryrefslogtreecommitdiff
path: root/indra/newview/llpersistentnotificationstorage.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2021-05-13 17:51:24 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2021-05-13 17:51:24 +0300
commit9a1688322ab739f8838611d1b9e37d33adc07dfb (patch)
treeb8db75d626804619751d4e9d5e5b1f8c90298a99 /indra/newview/llpersistentnotificationstorage.cpp
parentfde4bd2cbc62fef1d3290aa86cbef615ad097bf6 (diff)
SL-15195 The notification in chat history is multiplied after relogging
Diffstat (limited to 'indra/newview/llpersistentnotificationstorage.cpp')
-rw-r--r--indra/newview/llpersistentnotificationstorage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpersistentnotificationstorage.cpp b/indra/newview/llpersistentnotificationstorage.cpp
index f95ab9928d..18888f2723 100644
--- a/indra/newview/llpersistentnotificationstorage.cpp
+++ b/indra/newview/llpersistentnotificationstorage.cpp
@@ -150,7 +150,7 @@ void LLPersistentNotificationStorage::loadNotifications()
LLNotificationResponderPtr responder(createResponder(notification_params["name"], notification_params["responder"]));
notification->setResponseFunctor(responder);
- instance.add(notification);
+ instance.load(notification);
// hide script floaters so they don't confuse the user and don't overlap startup toast
LLScriptFloaterManager::getInstance()->setFloaterVisible(notification->getID(), false);