Actually delete the reply.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 28 Oct 2013 18:20:51 +0000 (19:20 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 28 Feb 2014 21:25:47 +0000 (22:25 +0100)
src/main/java/net/pterodactylus/sone/fcp/DeleteReplyCommand.java

index ef26411..4552b09 100644 (file)
@@ -48,6 +48,7 @@ public class DeleteReplyCommand extends AbstractSoneCommand {
                if (!reply.getSone().isLocal()) {
                        return new ErrorResponse(401, "Not allowed.");
                }
                if (!reply.getSone().isLocal()) {
                        return new ErrorResponse(401, "Not allowed.");
                }
+               getCore().deleteReply(reply);
                return new Response("ReplyDeleted", new SimpleFieldSetBuilder().get());
        }
 
                return new Response("ReplyDeleted", new SimpleFieldSetBuilder().get());
        }