diff --git a/indra/llui/llnotifications.cpp b/indra/llui/llnotifications.cpp index 052987b69f..a8d12a77d2 100644 --- a/indra/llui/llnotifications.cpp +++ b/indra/llui/llnotifications.cpp @@ -1263,8 +1263,7 @@ LLNotifications::LLNotifications() : LLNotificationChannelBase(LLNotificationFilters::includeEverything), mIgnoreAllNotifications(false) { - // Disable test API - //mListener.reset(new LLNotificationsListener(*this)); + mListener.reset(new LLNotificationsListener(*this)); LLUICtrl::CommitCallbackRegistry::currentRegistrar().add("Notification.Show", boost::bind(&LLNotifications::addFromCallback, this, _2)); // touch the instance tracker for notification channels, so that it will still be around in our destructor diff --git a/indra/llui/llnotifications.h b/indra/llui/llnotifications.h index 295b60a720..965ce9c67e 100644 --- a/indra/llui/llnotifications.h +++ b/indra/llui/llnotifications.h @@ -98,8 +98,7 @@ #include "llrefcount.h" #include "llsdparam.h" -// Disable test API -//#include "llnotificationslistener.h" +#include "llnotificationslistener.h" class LLAvatarName; typedef enum e_notification_priority @@ -999,8 +998,7 @@ private: bool mIgnoreAllNotifications; - // Disable test API - //std::unique_ptr mListener; + std::unique_ptr mListener; std::vector mDefaultChannels; };