diff options
Fix issue with editing notes for other avatars
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs b/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs index b21082f..bfa30e6 100644 --- a/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs | |||
@@ -758,8 +758,8 @@ namespace OpenSim.Region.OptionalModules.Avatar.UserProfiles | |||
758 | IClientAPI remoteClient = (IClientAPI)sender; | 758 | IClientAPI remoteClient = (IClientAPI)sender; |
759 | string serverURI = string.Empty; | 759 | string serverURI = string.Empty; |
760 | GetUserProfileServerURI(remoteClient.AgentId, out serverURI); | 760 | GetUserProfileServerURI(remoteClient.AgentId, out serverURI); |
761 | note.TargetId = remoteClient.AgentId; | 761 | note.UserId = remoteClient.AgentId; |
762 | UUID.TryParse(args[0], out note.UserId); | 762 | UUID.TryParse(args[0], out note.TargetId); |
763 | 763 | ||
764 | object Note = (object)note; | 764 | object Note = (object)note; |
765 | if(!JsonRpcRequest(ref Note, "avatarnotesrequest", serverURI, UUID.Random().ToString())) | 765 | if(!JsonRpcRequest(ref Note, "avatarnotesrequest", serverURI, UUID.Random().ToString())) |