/*
- * Sone - DeleteReplyCommand.java - Copyright © 2011–2015 David Roden
+ * Sone - DeleteReplyCommand.java - Copyright © 2011–2016 David Roden
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
if (!reply.getSone().isLocal()) {
return new ErrorResponse(401, "Not allowed.");
}
+ getCore().deleteReply(reply);
return new Response("ReplyDeleted", new SimpleFieldSetBuilder().get());
}