Checking for the “newness” of an item will never mark it as known anymore.
[Sone.git] / src / main / java / net / pterodactylus / sone / template / PostAccessor.java
index abdc4c8..f6a9c06 100644 (file)
@@ -61,7 +61,7 @@ public class PostAccessor extends ReflectionAccessor {
                        Sone currentSone = (Sone) templateContext.get("currentSone");
                        return (currentSone != null) && (currentSone.isLikedPostId(post.getId()));
                } else if (member.equals("new")) {
-                       return core.isNewPost(post.getId(), false);
+                       return core.isNewPost(post.getId());
                }
                return super.get(templateContext, object, member);
        }