Don't try to package null invites.

0.8.0.3
Diva Canto 2014-06-08 12:18:26 -07:00 committed by Justin Clark-Casey
parent 901602411c
commit a8edc908e0
1 changed files with 5 additions and 1 deletions

View File

@ -665,7 +665,11 @@ namespace OpenSim.Groups
GroupInviteInfo invite = m_GroupsService.GetAgentToGroupInvite(request["RequestingAgentID"].ToString(), GroupInviteInfo invite = m_GroupsService.GetAgentToGroupInvite(request["RequestingAgentID"].ToString(),
new UUID(request["InviteID"].ToString())); new UUID(request["InviteID"].ToString()));
if (invite != null)
result["RESULT"] = GroupsDataUtils.GroupInviteInfo(invite); result["RESULT"] = GroupsDataUtils.GroupInviteInfo(invite);
else
result["RESULT"] = "NULL";
return Util.UTF8NoBomEncoding.GetBytes(ServerUtils.BuildXmlResponse(result)); return Util.UTF8NoBomEncoding.GetBytes(ServerUtils.BuildXmlResponse(result));
} }