[opensource-dev] Does your TPV access role_id?

Jonathan Welch jhwelch at gmail.com
Wed Oct 30 13:53:10 PDT 2013


I have been looking into fixing VWR-11778 (Group Invites do not obey
Mute settings/group invites not blocked from muted avatars )
https://jira.secondlife.com/browse/vwr-11778

The code block in question is located in llviewermessage.cpp, search for
case IM_GROUP_INVITATION:

Unfortunately, the server sends the GroupID in the AgentID field, so
it is not possible to check the mute list for the person sending the
group invitation.

I have discovered that there is an apparently unused field in the
binary bucket: role_id.  This field is null when an Everyone role is
sent and non-null for other roles.

The viewer code never uses this data.  My question to you is does your
TPV use this data, or can this field be repurposed to hold the correct
AgentID?

I had tried to solve the lack of a UUID by calling
gCacheName->getUUID(legacy_name, agent_id);

In the past this call worked, now it only returns a null which makes
me suspect the database is not being populated for some reason.

-jonathan


More information about the opensource-dev mailing list