From 2a700a6d84a4e2705f33870c0b9d7a0b78bf37f4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 6 May 2011 15:29:01 +0200 Subject: [PATCH] Use reply visibility check method. --- .../java/net/pterodactylus/sone/notify/ListNotificationFilters.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/sone/notify/ListNotificationFilters.java b/src/main/java/net/pterodactylus/sone/notify/ListNotificationFilters.java index bc27173..264e77c 100644 --- a/src/main/java/net/pterodactylus/sone/notify/ListNotificationFilters.java +++ b/src/main/java/net/pterodactylus/sone/notify/ListNotificationFilters.java @@ -128,7 +128,7 @@ public class ListNotificationFilters { } List newReplies = new ArrayList(); for (Reply reply : newReplyNotification.getElements()) { - if (isPostVisible(currentSone, reply.getPost())) { + if (isReplyVisible(currentSone, reply)) { newReplies.add(reply); } } -- 2.7.4