X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fnotify%2FListNotification.java;fp=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fnotify%2FListNotification.java;h=c66d376f4836cad76d08f4d8b6878d16a612849d;hb=3acdf9644688e6a3aa0288c64167ef1f82a51cdf;hp=03836480f2dea1d19e0a29277afd66d18ab6473a;hpb=9e2a51094897eedac12d5b24570a3bdd1795ae01;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/notify/ListNotification.java b/src/main/java/net/pterodactylus/sone/notify/ListNotification.java index 0383648..c66d376 100644 --- a/src/main/java/net/pterodactylus/sone/notify/ListNotification.java +++ b/src/main/java/net/pterodactylus/sone/notify/ListNotification.java @@ -81,7 +81,7 @@ public class ListNotification extends TemplateNotification { * The list notification to copy */ public ListNotification(ListNotification listNotification) { - super(listNotification.getId(), new Template()); + super(listNotification.getId(), listNotification.getCreatedTime(), listNotification.getLastUpdatedTime(), listNotification.isDismissable(), new Template()); this.key = listNotification.key; getTemplate().add(listNotification.getTemplate()); getTemplate().getInitialContext().set(key, elements);