From: David ‘Bombe’ Roden Date: Mon, 15 Nov 2010 05:33:55 +0000 (+0100) Subject: Set fixed ID for the startup notification. X-Git-Tag: 0.3-RC1~51 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=ceff67dff5c01a42ee7204daff7ac5ec51d7f7c8;p=Sone.git Set fixed ID for the startup notification. --- diff --git a/src/main/java/net/pterodactylus/sone/web/WebInterface.java b/src/main/java/net/pterodactylus/sone/web/WebInterface.java index 4ede520..10bacee 100644 --- a/src/main/java/net/pterodactylus/sone/web/WebInterface.java +++ b/src/main/java/net/pterodactylus/sone/web/WebInterface.java @@ -227,7 +227,7 @@ public class WebInterface implements CoreListener { /* notification templates. */ Template startupNotificationTemplate = templateFactory.createTemplate(createReader("/templates/notify/startupNotification.html")); - final TemplateNotification startupNotification = new TemplateNotification(startupNotificationTemplate); + final TemplateNotification startupNotification = new TemplateNotification("startup-notification", startupNotificationTemplate); notificationManager.addNotification(startupNotification); Ticker.getInstance().registerEvent(System.currentTimeMillis() + (120 * 1000), new Runnable() {