Add a mandatory response message name to Command.Response.
[Sone.git] / src / main / java / net / pterodactylus / sone / fcp / GetPostCommand.java
index 391694f..b01b8f2 100644 (file)
@@ -48,7 +48,7 @@ public class GetPostCommand extends AbstractSoneCommand {
                Post post = getPost(parameters, "Post");
                boolean includeReplies = getBoolean(parameters, "IncludeReplies", true);
 
-               return new Response(encodePost(post, "Post.", includeReplies));
+               return new Response("Post", encodePost(post, "Post.", includeReplies));
        }
 
 }