[Opensim-dev] Some features work only with the Active group
Oren Hurvitz
orenh at kitely.com
Mon Apr 30 07:58:38 UTC 2012
I'm using Flotsam's XmlRpcGroups. In xmlrpc.php, I see that
getAgentGroupMembership() only returns True if the queried group is the
user's active group. I think this is a mistake: if we change it to return
True for any group membership, many features would start working as
expected. That would require no changes to OpenSim itself.
The reason getAgentGroupMembership() only works for the active group is that
it uses "JOIN osagent". In contrast, getAgentGroupMemberships() (notice the
"s" at the end) uses "LEFT JOIN osagent", so it returns *all* the groups.
--
View this message in context: http://opensim-dev.2196679.n2.nabble.com/Some-features-work-only-with-the-Active-group-tp7512633p7512748.html
Sent from the opensim-dev mailing list archive at Nabble.com.
More information about the Opensim-dev
mailing list