OpenSimProfile/Modules/ProfileModule/OpenProfile.cs

- Use targetid returned in results from XML RPC query when getting notes.
(This was included in the changes of revision 79 in opensim-069 branch)


git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@80 19860011-0018-435d-96ae-4a7b0aaa3128
This commit is contained in:
kcozens
2010-10-10 19:07:08 +00:00
parent 05700c96cd
commit d64f325179
@@ -452,6 +452,7 @@ namespace OpenSimProfile.Modules.OpenProfile
public void HandleAvatarNotesRequest(Object sender, string method, List<String> args)
{
string targetid;
string notes = "";
if (!(sender is IClientAPI))
@@ -480,11 +481,12 @@ namespace OpenSimProfile.Modules.OpenProfile
{
Hashtable d = (Hashtable)dataArray[0];
targetid = d["targetid"].ToString();
if (d["notes"] != null)
notes = d["notes"].ToString();
}
remoteClient.SendAvatarNotesReply(new UUID(args[0]), notes);
remoteClient.SendAvatarNotesReply(new UUID(targetid), notes);
}
}
// Notes Update