mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
If updating a user's profile notes fails then return an error
Resolves http://opensimulator.org/mantis/view.php?id=6938
This commit is contained in:
@@ -273,10 +273,10 @@ namespace OpenSim.Server.Handlers
|
||||
response.Result = OSD.SerializeMembers(note);
|
||||
return true;
|
||||
}
|
||||
|
||||
object Notes = (object) note;
|
||||
OSD.DeserializeMembers(ref Notes, (OSDMap)json["params"]);
|
||||
return true;
|
||||
|
||||
response.Error.Code = ErrorCode.InternalError;
|
||||
response.Error.Message = "Error reading notes";
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool NotesUpdate(OSDMap json, ref JsonRpcResponse response)
|
||||
|
||||
Reference in New Issue
Block a user