diff options
author | UbitUmarov | 2016-07-02 01:01:29 +0100 |
---|---|---|
committer | UbitUmarov | 2016-07-02 01:01:29 +0100 |
commit | cd34f978fb6603885a54a24b0513f2d45b749282 (patch) | |
tree | 11f5525f04bb49ae616f0c459efd4f44c0a4d0dc /OpenSim/Region/OptionalModules/Avatar | |
parent | reduce absurd viewers blind retries of GroupProfileRequest (diff) | |
download | opensim-SC_OLD-cd34f978fb6603885a54a24b0513f2d45b749282.zip opensim-SC_OLD-cd34f978fb6603885a54a24b0513f2d45b749282.tar.gz opensim-SC_OLD-cd34f978fb6603885a54a24b0513f2d45b749282.tar.bz2 opensim-SC_OLD-cd34f978fb6603885a54a24b0513f2d45b749282.tar.xz |
revert to previus GroupProfileRequest because floatsam groups server seems to return wrong values for GroupMembershipCount and GroupRolesCount. this should be fixed because we are getting the full lists just to count number of entries
Diffstat (limited to 'OpenSim/Region/OptionalModules/Avatar')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs index 11f53dd..cb6ceb5 100644 --- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs | |||
@@ -785,10 +785,8 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups | |||
785 | { | 785 | { |
786 | if (m_debugEnabled) m_log.DebugFormat("[GROUPS]: {0} called", System.Reflection.MethodBase.GetCurrentMethod().Name); | 786 | if (m_debugEnabled) m_log.DebugFormat("[GROUPS]: {0} called", System.Reflection.MethodBase.GetCurrentMethod().Name); |
787 | 787 | ||
788 | /* | ||
789 | GroupProfileData profile = new GroupProfileData(); | 788 | GroupProfileData profile = new GroupProfileData(); |
790 | 789 | ||
791 | |||
792 | GroupRecord groupInfo = m_groupData.GetGroupRecord(GetRequestingAgentID(remoteClient), groupID, null); | 790 | GroupRecord groupInfo = m_groupData.GetGroupRecord(GetRequestingAgentID(remoteClient), groupID, null); |
793 | if (groupInfo != null) | 791 | if (groupInfo != null) |
794 | { | 792 | { |
@@ -814,9 +812,11 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups | |||
814 | profile.MemberTitle = memberInfo.GroupTitle; | 812 | profile.MemberTitle = memberInfo.GroupTitle; |
815 | profile.PowersMask = memberInfo.GroupPowers; | 813 | profile.PowersMask = memberInfo.GroupPowers; |
816 | } | 814 | } |
817 | */ | 815 | /* |
816 | this should save xmlrpc calls, but seems to return wrong GroupMembershipCount and GroupRolesCount | ||
818 | UUID agent = GetRequestingAgentID(remoteClient); | 817 | UUID agent = GetRequestingAgentID(remoteClient); |
819 | GroupProfileData profile = m_groupData.GetMemberGroupProfile(agent, groupID, agent); | 818 | GroupProfileData profile = m_groupData.GetMemberGroupProfile(agent, groupID, agent); |
819 | */ | ||
820 | return profile; | 820 | return profile; |
821 | } | 821 | } |
822 | 822 | ||