From 8f71edc7cf863a081d9ee3adfd1974db1509d405 Mon Sep 17 00:00:00 2001 From: DieGurke <55625494+DieGurke@users.noreply.github.com> Date: Sat, 4 Jul 2020 09:31:15 +0200 Subject: [PATCH] Implemented Date name change --- src/main/java/envoy/server/data/GroupMessage.java | 2 +- src/main/java/envoy/server/data/Message.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/envoy/server/data/GroupMessage.java b/src/main/java/envoy/server/data/GroupMessage.java index 9f9a72a..7c61390 100644 --- a/src/main/java/envoy/server/data/GroupMessage.java +++ b/src/main/java/envoy/server/data/GroupMessage.java @@ -71,7 +71,7 @@ public class GroupMessage extends Message { @Override public envoy.data.GroupMessage toCommon() { // TODO: Attachment - envoy.data.GroupMessage groupMessage = new MessageBuilder(sender.getID(), recipient.getID(), id).setDate(creationDate) + envoy.data.GroupMessage groupMessage = new MessageBuilder(sender.getID(), recipient.getID(), id).setCreationDate(creationDate) .setForwarded(forwarded) .setStatus(status) .setText(text) diff --git a/src/main/java/envoy/server/data/Message.java b/src/main/java/envoy/server/data/Message.java index 5b81e7d..7127832 100755 --- a/src/main/java/envoy/server/data/Message.java +++ b/src/main/java/envoy/server/data/Message.java @@ -104,7 +104,7 @@ public class Message { public envoy.data.Message toCommon() { // TODO: Attachment envoy.data.Message message = new MessageBuilder(sender.getID(), recipient.getID(), id).setText(text) - .setDate(creationDate) + .setCreationDate(creationDate) .setStatus(status) .setForwarded(forwarded) .build();