Implemented Date name change
This commit is contained in:
parent
59124f2319
commit
8f71edc7cf
@ -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)
|
||||||
|
@ -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();
|
||||||
|
Reference in New Issue
Block a user