Implemented Date name change
This commit is contained in:
parent
59124f2319
commit
8f71edc7cf
@ -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