mirror of
https://github.com/kcozens/OpenSimProfile.git
synced 2026-08-14 09:02:00 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user