Implemented Date name change
This commit is contained in:
parent
75dc563a07
commit
39696ca671
@ -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)
|
||||
|
@ -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();
|
||||
|
Reference in New Issue
Block a user