From: David ‘Bombe’ Roden Date: Wed, 25 May 2011 17:37:43 +0000 (+0200) Subject: Use correct notification ID. X-Git-Tag: 0.6.5^2~27 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=6f550611d5a0b9beece55ebdfd18a5c8b3722356;p=Sone.git Use correct notification ID. --- 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) {