X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2FMarkAsKnownPage.java;h=a923386e28a60cf8d34c8943b90d8f681098d183;hb=7f024734546973cd592e6cbf04604705477f15f6;hp=fe505095d58cce1522e7583826b532b1afb3c1f7;hpb=14b1aa4bf4b88e80f9cce4ec14d0950727df4a5f;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/web/MarkAsKnownPage.java b/src/main/java/net/pterodactylus/sone/web/MarkAsKnownPage.java index fe50509..a923386 100644 --- a/src/main/java/net/pterodactylus/sone/web/MarkAsKnownPage.java +++ b/src/main/java/net/pterodactylus/sone/web/MarkAsKnownPage.java @@ -71,13 +71,13 @@ public class MarkAsKnownPage extends SoneTemplatePage { } webInterface.getCore().markPostKnown(post); } else if (type.equals("reply")) { - PostReply reply = webInterface.getCore().getPostReply(id, false); + PostReply reply = webInterface.getCore().getPostReply(id); if (reply == null) { continue; } webInterface.getCore().markReplyKnown(reply); } else if (type.equals("sone")) { - Sone sone = webInterface.getCore().getSone(id, false); + Sone sone = webInterface.getCore().getSone(id); if (sone == null) { continue; }