Implemented Date name change

This commit is contained in:
DieGurke 2020-07-04 09:31:15 +02:00
parent 59124f2319
commit 8f71edc7cf
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ public class GroupMessage extends Message {
@Override @Override
public envoy.data.GroupMessage toCommon() { public envoy.data.GroupMessage toCommon() {
// TODO: Attachment // 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) .setForwarded(forwarded)
.setStatus(status) .setStatus(status)
.setText(text) .setText(text)

View File

@ -104,7 +104,7 @@ public class Message {
public envoy.data.Message toCommon() { public envoy.data.Message toCommon() {
// TODO: Attachment // TODO: Attachment
envoy.data.Message message = new MessageBuilder(sender.getID(), recipient.getID(), id).setText(text) envoy.data.Message message = new MessageBuilder(sender.getID(), recipient.getID(), id).setText(text)
.setDate(creationDate) .setCreationDate(creationDate)
.setStatus(status) .setStatus(status)
.setForwarded(forwarded) .setForwarded(forwarded)
.build(); .build();