Remove possibility to create new posts from post provider interface.
[Sone.git] / src / main / java / net / pterodactylus / sone / text / SoneTextParser.java
index 5c59912..a093e46 100644 (file)
@@ -258,7 +258,7 @@ public class SoneTextParser implements Parser<SoneTextParserContext> {
                                        if (linkType == LinkType.POST) {
                                                if (line.length() >= (7 + 36)) {
                                                        String postId = line.substring(7, 43);
-                                                       Post post = postProvider.getPost(postId, false);
+                                                       Post post = postProvider.getPost(postId);
                                                        if ((post != null) && (post.getSone() != null)) {
                                                                parts.add(new PostPart(post));
                                                        } else {