From 6f550611d5a0b9beece55ebdfd18a5c8b3722356 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 25 May 2011 19:37:43 +0200 Subject: [PATCH] Use correct notification ID. --- .../java/net/pterodactylus/sone/web/ajax/GetNotificationAjaxPage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/sone/web/ajax/GetNotificationAjaxPage.java b/src/main/java/net/pterodactylus/sone/web/ajax/GetNotificationAjaxPage.java index 1406c3a..0472349 100644 --- a/src/main/java/net/pterodactylus/sone/web/ajax/GetNotificationAjaxPage.java +++ b/src/main/java/net/pterodactylus/sone/web/ajax/GetNotificationAjaxPage.java @@ -83,7 +83,7 @@ public class GetNotificationAjaxPage extends JsonPage { Notification notification = webInterface.getNotifications().getNotification(notificationId); if ("new-post-notification".equals(notificationId)) { notification = ListNotificationFilters.filterNewPostNotification((ListNotification) notification, currentSone); - } else if ("new-reply-notification".equals(notificationId)) { + } else if ("new-replies-notification".equals(notificationId)) { notification = ListNotificationFilters.filterNewReplyNotification((ListNotification) notification, currentSone); } if (notification == null) { -- 2.7.4