}
if ("post".equals(type)) {
currentSone.addLikedPostId(id);
+ webInterface.getCore().saveSone(currentSone);
} else if ("reply".equals(type)) {
currentSone.addLikedReplyId(id);
+ webInterface.getCore().saveSone(currentSone);
} else {
return createErrorJsonObject("invalid-type");
}