From: David ‘Bombe’ Roden Date: Fri, 6 May 2011 13:29:01 +0000 (+0200) Subject: Use reply visibility check method. X-Git-Tag: 0.6.4^2~23 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=2a700a6d84a4e2705f33870c0b9d7a0b78bf37f4;p=Sone.git Use reply visibility check method. --- 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); } }