X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fnotify%2FListNotification.java;h=c66d376f4836cad76d08f4d8b6878d16a612849d;hp=03836480f2dea1d19e0a29277afd66d18ab6473a;hb=a23c4f218c3adf236d89d5927cae37d6e6e4feda;hpb=9e2a51094897eedac12d5b24570a3bdd1795ae01 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);