Rewrite isNewSone() to match isNewPost() and isNewReply().
[Sone.git] / src / main / java / net / pterodactylus / sone / template / SoneAccessor.java
index 52424e6..ac4ab28 100644 (file)
@@ -94,7 +94,7 @@ public class SoneAccessor extends ReflectionAccessor {
                } else if (member.equals("downloading")) {
                        return core.getSoneStatus(sone) == SoneStatus.downloading;
                } else if (member.equals("new")) {
-                       return core.isNewSone(sone);
+                       return core.isNewSone(sone.getId(), false);
                } else if (member.equals("locked")) {
                        return core.isLocked(sone);
                } else if (member.equals("trust")) {