summaryrefslogtreecommitdiff
path: root/indra/newview/llimfloater.cpp
diff options
context:
space:
mode:
authorSergey Borushevsky <sborushevsky@productengine.com>2009-11-30 17:47:20 +0200
committerSergey Borushevsky <sborushevsky@productengine.com>2009-11-30 17:47:20 +0200
commitcbab53ec392fbf3cb1e34324f0a96d04dd084ce6 (patch)
tree1e7ecb46d7c12e55ac29627a176ebb2446c63306 /indra/newview/llimfloater.cpp
parentd5152b3ea7acfefc56d648d1581fc541fd7d2ea6 (diff)
Implemented major sub-task EXT-2882 (User who has been muted/unmuted by the moderator (that means, user is muted for the whole group) should receive a notification.)
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llimfloater.cpp')
-rw-r--r--indra/newview/llimfloater.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llimfloater.cpp b/indra/newview/llimfloater.cpp
index 310eaaec27..5fa278e727 100644
--- a/indra/newview/llimfloater.cpp
+++ b/indra/newview/llimfloater.cpp
@@ -634,6 +634,9 @@ void LLIMFloater::processAgentListUpdates(const LLSD& body)
else
label = LLTrans::getString("IM_to_label") + " " + LLIMModel::instance().getName(mSessionID);
mInputEditor->setLabel(label);
+
+ if (moderator_muted_text)
+ LLNotifications::instance().add("TextChatIsMutedByModerator");
}
}
}