If updating a user's profile notes fails then return an error
Resolves http://opensimulator.org/mantis/view.php?id=69380.8.0.3
parent
1b30ae81b5
commit
8cec0b3fa1
|
@ -273,10 +273,10 @@ namespace OpenSim.Server.Handlers
|
||||||
response.Result = OSD.SerializeMembers(note);
|
response.Result = OSD.SerializeMembers(note);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
object Notes = (object) note;
|
response.Error.Code = ErrorCode.InternalError;
|
||||||
OSD.DeserializeMembers(ref Notes, (OSDMap)json["params"]);
|
response.Error.Message = "Error reading notes";
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool NotesUpdate(OSDMap json, ref JsonRpcResponse response)
|
public bool NotesUpdate(OSDMap json, ref JsonRpcResponse response)
|
||||||
|
|
Loading…
Reference in New Issue