Remove possibility to create new replies from core interface.
[Sone.git] / src / main / java / net / pterodactylus / sone / web / SearchPage.java
index 7352bab..337918d 100644 (file)
@@ -336,7 +336,7 @@ public class SearchPage extends SoneTemplatePage {
         */
        private String getReplyPostId(String phrase) {
                String replyId = phrase.startsWith("reply://") ? phrase.substring(8) : phrase;
-               return (webInterface.getCore().getPostReply(replyId, false) != null) ? webInterface.getCore().getPostReply(replyId, false).getPost().getId() : null;
+               return (webInterface.getCore().getPostReply(replyId) != null) ? webInterface.getCore().getPostReply(replyId).getPost().getId() : null;
        }
 
        /**