Merge commit 'fcabe38e9b3abacc0d580bf0513600858aee2eca' into less-critical
[Sone.git] / src / main / java / net / pterodactylus / sone / web / ajax / MarkAsKnownAjaxPage.java
index a193d75..e9c582a 100644 (file)
@@ -57,13 +57,13 @@ public class MarkAsKnownAjaxPage extends JsonPage {
                Core core = webInterface.getCore();
                for (String id : ids) {
                        if (type.equals("post")) {
-                               Post post = core.getPost(id, false);
+                               Post post = core.getPost(id);
                                if (post == null) {
                                        continue;
                                }
                                core.markPostKnown(post);
                        } else if (type.equals("reply")) {
-                               PostReply reply = core.getPostReply(id, false);
+                               PostReply reply = core.getPostReply(id);
                                if (reply == null) {
                                        continue;
                                }