Make post returned by post reply optional.
[Sone.git] / src / main / java / net / pterodactylus / sone / data / PostReply.java
index 8dc6f93..36921dd 100644 (file)
@@ -37,7 +37,7 @@ public interface PostReply extends Reply<PostReply> {
         *
         * @return The post this reply refers to
         */
-       public Post getPost();
+       public Optional<Post> getPost();
 
        /**
         * Sets the post this reply refers to.