Copy all values in the copy constructor.
[Sone.git] / src / main / java / net / pterodactylus / sone / notify / ListNotification.java
index 0383648..c66d376 100644 (file)
@@ -81,7 +81,7 @@ public class ListNotification<T> extends TemplateNotification {
         *            The list notification to copy
         */
        public ListNotification(ListNotification<T> 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);