}
webInterface.getCore().markPostKnown(post.get());
} else if (type.equals("reply")) {
- Optional<PostReply> reply = webInterface.getCore().getPostReply(id);
+ Optional<PostReply> reply = webInterface.getCore().getDatabase().getPostReply(id);
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()) {