+ protected void postProcess(Request request, TemplateContext templateContext) {
+ Sone sone = (Sone) templateContext.get("sone");
+ if (sone == null) {
+ return;
+ }
+ webInterface.getCore().markSoneKnown(sone);
+ List<Post> posts = sone.getPosts();
+ for (Post post : posts) {
+ webInterface.getCore().markPostKnown(post);
+ for (Reply reply : webInterface.getCore().getReplies(post)) {
+ webInterface.getCore().markReplyKnown(reply);
+ }
+ }