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.
meow-7.2.2
Andrey Kleshchev 2023-01-05 18:21:53 +02:00
parent 3fd86c2f23
commit 73933fe778
1 changed files with 1 additions and 2 deletions

View File

@ -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();