summaryrefslogtreecommitdiff
path: root/indra/newview/llcallingcard.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-01-05 18:21:53 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-01-05 18:21:53 +0200
commit73933fe778c5d29bfde2a3055b8ab21e5aa6b598 (patch)
tree44b5403d93ff3b7d9de40d34b43653fb376ba921 /indra/newview/llcallingcard.cpp
parent3fd86c2f23e288ec6754be0bf39bc452f6c0f3e1 (diff)
SL-18894 The change of 'modify rights' is not recorded in IM history if the user is in DND mode
Revert of commit for SL-15401. Messages are supposed to handle 'mute' on their own.
Diffstat (limited to 'indra/newview/llcallingcard.cpp')
-rw-r--r--indra/newview/llcallingcard.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llcallingcard.cpp b/indra/newview/llcallingcard.cpp
index 193d368b83..df79043b00 100644
--- a/indra/newview/llcallingcard.cpp
+++ b/indra/newview/llcallingcard.cpp
@@ -650,8 +650,7 @@ void LLAvatarTracker::processChange(LLMessageSystem* msg)
{
if(mBuddyInfo.find(agent_id) != mBuddyInfo.end())
{
- if (((mBuddyInfo[agent_id]->getRightsGrantedFrom() ^ new_rights) & LLRelationship::GRANT_MODIFY_OBJECTS)
- && !gAgent.isDoNotDisturb())
+ if (((mBuddyInfo[agent_id]->getRightsGrantedFrom() ^ new_rights) & LLRelationship::GRANT_MODIFY_OBJECTS))
{
LLSD args;
args["NAME"] = LLSLURL("agent", agent_id, "displayname").getSLURLString();