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
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)

View File

@ -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();