From d8d8d84c87832502cff8c67cabfc11c639a78345 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 1 Jan 2011 02:26:36 +0100 Subject: [PATCH] Store the list notification itself in the notification template. --- src/main/java/net/pterodactylus/sone/notify/ListNotification.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/pterodactylus/sone/notify/ListNotification.java b/src/main/java/net/pterodactylus/sone/notify/ListNotification.java index 7a0d6f8..7d3e3c7 100644 --- a/src/main/java/net/pterodactylus/sone/notify/ListNotification.java +++ b/src/main/java/net/pterodactylus/sone/notify/ListNotification.java @@ -49,6 +49,7 @@ public class ListNotification extends TemplateNotification { public ListNotification(String id, String key, Template template) { super(id, template); template.set(key, elements); + template.set("notification", this); } // -- 2.7.4