Remove method to mark replies as known from the core.
[Sone.git] / src / main / java / net / pterodactylus / sone / web / MarkAsKnownPage.java
index 98984dd..59bcf2e 100644 (file)
@@ -74,7 +74,7 @@ public class MarkAsKnownPage extends SoneTemplatePage {
                                if (!reply.isPresent()) {
                                        continue;
                                }
-                               webInterface.getCore().markReplyKnown(reply.get());
+                               reply.get().modify().setKnown().update(webInterface.getCore().postReplyUpdated());
                        } else if (type.equals("sone")) {
                                Optional<Sone> sone = webInterface.getCore().getSone(id);
                                if (!sone.isPresent()) {