From: David ‘Bombe’ Roden Date: Sat, 1 Jan 2011 01:26:36 +0000 (+0100) Subject: Store the list notification itself in the notification template. X-Git-Tag: beta-freefall-0.6.2-1~158 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=d8d8d84c87832502cff8c67cabfc11c639a78345;p=Sone.git Store the list notification itself in the notification template. --- 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); } //