Use reply visibility check method.
[Sone.git] / src / main / java / net / pterodactylus / sone / notify / ListNotificationFilters.java
index bc27173..264e77c 100644 (file)
@@ -128,7 +128,7 @@ public class ListNotificationFilters {
                }
                List<Reply> newReplies = new ArrayList<Reply>();
                for (Reply reply : newReplyNotification.getElements()) {
-                       if (isPostVisible(currentSone, reply.getPost())) {
+                       if (isReplyVisible(currentSone, reply)) {
                                newReplies.add(reply);
                        }
                }