diff options
author | maxim@mnikolenko <maxim@mnikolenko> | 2013-01-03 13:38:42 +0200 |
---|---|---|
committer | maxim@mnikolenko <maxim@mnikolenko> | 2013-01-03 13:38:42 +0200 |
commit | df3f00443f6b4e0f6667f8d5b091af90d2bf340f (patch) | |
tree | aaae5450c73deb45b4b428fd04565f899976a9ff /indra/newview/llcommunicationchannel.cpp | |
parent | 7e8d336749b42ce134a67dfe1f1990644f1b263a (diff) | |
parent | a25e6eb733bb8f6a0e9f8de1094155f685c6216d (diff) |
Merge
Diffstat (limited to 'indra/newview/llcommunicationchannel.cpp')
-rw-r--r-- | indra/newview/llcommunicationchannel.cpp | 6 |
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(); |