FIRE-20385: Don't show group invitation for groups agent is already a member of
parent
558691c791
commit
de9ffca2f3
|
|
@ -3457,6 +3457,14 @@ void process_improved_im(LLMessageSystem *msg, void **user_data)
|
|||
break;
|
||||
case IM_GROUP_INVITATION:
|
||||
{
|
||||
// <FS:Ansariel> FIRE-20385: Don't show group invitation for groups agent is already a member of
|
||||
if (gAgent.isInGroup(from_id))
|
||||
{
|
||||
LL_INFOS("Messaging") << "Received group invitation for group " << from_id << " but we are already a member" << LL_ENDL;
|
||||
return;
|
||||
}
|
||||
// </FS:Ansariel>
|
||||
|
||||
if (!is_muted)
|
||||
{
|
||||
// group is not blocked, but we still need to check agent that sent the invitation
|
||||
|
|
|
|||
Loading…
Reference in New Issue