From: David ‘Bombe’ Roden Date: Mon, 28 Oct 2013 18:20:51 +0000 (+0100) Subject: Actually delete the reply. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=e9143d456d01cbd20b9c800da217706ad0105ff2;p=Sone.git Actually delete the reply. --- diff --git a/src/main/java/net/pterodactylus/sone/fcp/DeleteReplyCommand.java b/src/main/java/net/pterodactylus/sone/fcp/DeleteReplyCommand.java index ef26411..4552b09 100644 --- a/src/main/java/net/pterodactylus/sone/fcp/DeleteReplyCommand.java +++ b/src/main/java/net/pterodactylus/sone/fcp/DeleteReplyCommand.java @@ -48,6 +48,7 @@ public class DeleteReplyCommand extends AbstractSoneCommand { if (!reply.getSone().isLocal()) { return new ErrorResponse(401, "Not allowed."); } + getCore().deleteReply(reply); return new Response("ReplyDeleted", new SimpleFieldSetBuilder().get()); }