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:
Oren Hurvitz
2013-10-31 09:00:59 +02:00
parent 1b30ae81b5
commit 8cec0b3fa1

View File

@@ -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)