Use better notification ID.
[Sone.git] / src / main / java / net / pterodactylus / sone / web / ajax / GetNotificationAjaxPage.java
index 0472349..1406c3a 100644 (file)
@@ -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<Post>) notification, currentSone);
-                       } else if ("new-replies-notification".equals(notificationId)) {
+                       } else if ("new-reply-notification".equals(notificationId)) {
                                notification = ListNotificationFilters.filterNewReplyNotification((ListNotification<Reply>) notification, currentSone);
                        }
                        if (notification == null) {