diff options
author | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-02-16 19:30:22 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-02-16 19:30:22 +0100 |
commit | 0392e6b2dc4c9bc4063fce5c1b4817c3c6460426 (patch) | |
tree | 7481ced5fb1895e251d78c6b4ec023e8f1dde808 /src/de/gultsch/chat/entities/Conversation.java | |
parent | 9c7cacdbddf6ba1a34fd56b71718ba4e44e20efa (diff) |
made presences chooser. raw draft. just kinda works
Diffstat (limited to 'src/de/gultsch/chat/entities/Conversation.java')
-rw-r--r-- | src/de/gultsch/chat/entities/Conversation.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de/gultsch/chat/entities/Conversation.java b/src/de/gultsch/chat/entities/Conversation.java index 343e83a4..3f83010c 100644 --- a/src/de/gultsch/chat/entities/Conversation.java +++ b/src/de/gultsch/chat/entities/Conversation.java @@ -106,7 +106,7 @@ public class Conversation extends AbstractEntity { public Message getLatestMessage() { if ((this.messages == null)||(this.messages.size()==0)) { Message message = new Message(this,"",Message.ENCRYPTION_NONE); - message.setTime(0); + message.setTime(getCreated()); return message; } else { return this.messages.get(this.messages.size() - 1); |