summaryrefslogtreecommitdiff
path: root/indra/newview/llcommunicationchannel.cpp
diff options
context:
space:
mode:
authorWilliam Todd Stinson <stinson@lindenlab.com>2012-12-19 01:48:37 -0800
committerWilliam Todd Stinson <stinson@lindenlab.com>2012-12-19 01:48:37 -0800
commitbd6d34d312c3e3322ab62f3a60253fb88fcbc9e3 (patch)
tree9a32809b727586b0e816e085be29e332befeadff /indra/newview/llcommunicationchannel.cpp
parent6b9ead91459d702727b54ab7e51614c2d5959f5f (diff)
CHUI-499: Loading the DND notifications upon exit from DND mode and after login.
Diffstat (limited to 'indra/newview/llcommunicationchannel.cpp')
-rw-r--r--indra/newview/llcommunicationchannel.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llcommunicationchannel.cpp b/indra/newview/llcommunicationchannel.cpp
index 353447e4b6..4b0a70ffd8 100644
--- a/indra/newview/llcommunicationchannel.cpp
+++ b/indra/newview/llcommunicationchannel.cpp
@@ -39,6 +39,7 @@
LLCommunicationChannel::LLCommunicationChannel(const std::string& pName, const std::string& pParentName)
: LLNotificationChannel(pName, pParentName, filterByDoNotDisturbStatus)
+ , mHistory()
{
}
@@ -61,6 +62,11 @@ LLCommunicationChannel::history_list_t::const_iterator LLCommunicationChannel::e
return mHistory.end();
}
+void LLCommunicationChannel::clearHistory()
+{
+ mHistory.clear();
+}
+
void LLCommunicationChannel::onFilterFail(LLNotificationPtr pNotificationPtr)
{
std::string notificationType = pNotificationPtr->getType();