summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-04-27 19:46:34 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-04-27 19:46:34 +0300
commitc0fafd7973e862a669985e451cfb35c0a42d8e1d (patch)
treebb62ad8eada25c80852488bff165308a727e27d6 /indra/newview
parent8b3f4b56f93bfae8251e79c9210836437d2e945b (diff)
SL-15079 Fix odd group chat messages
For god mode isInGroup was returning 'true' regardles of session id being group or agent id
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llimview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp
index 9afb6ca58b..768088f07f 100644
--- a/indra/newview/llimview.cpp
+++ b/indra/newview/llimview.cpp
@@ -1698,7 +1698,7 @@ LLUUID LLIMMgr::computeSessionID(
}
}
- if (gAgent.isInGroup(session_id) && (session_id != other_participant_id))
+ if (gAgent.isInGroup(session_id, TRUE) && (session_id != other_participant_id))
{
LL_WARNS() << "Group session id different from group id: IM type = " << dialog << ", session id = " << session_id << ", group id = " << other_participant_id << LL_ENDL;
}