diff options
author | AndreyL ProductEngine <alihatskiy@productengine.com> | 2017-07-21 05:29:51 +0300 |
---|---|---|
committer | AndreyL ProductEngine <alihatskiy@productengine.com> | 2017-07-21 05:29:51 +0300 |
commit | 2efa40fa6089dabbaccc228d331679c8c92f797f (patch) | |
tree | 48d85625553575c337875b0f675daa1ed88bca1f /indra/llui/llnotifications.cpp | |
parent | c55d9a59a25cbc311c63ca8bfee0189b090ff99a (diff) |
MAINT-7356 Logic fix and cleanup
Diffstat (limited to 'indra/llui/llnotifications.cpp')
-rw-r--r-- | indra/llui/llnotifications.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llui/llnotifications.cpp b/indra/llui/llnotifications.cpp index d40347de13..6710e9993d 100644 --- a/indra/llui/llnotifications.cpp +++ b/indra/llui/llnotifications.cpp @@ -1799,6 +1799,12 @@ bool LLNotifications::getIgnoreAllNotifications() return mIgnoreAllNotifications; } +void LLNotifications::setIgnored(const std::string& name, bool ignored) +{ + LLNotificationTemplatePtr templatep = getTemplate(name); + templatep->mForm->setIgnored(ignored); +} + bool LLNotifications::getIgnored(const std::string& name) { LLNotificationTemplatePtr templatep = getTemplate(name); |