aboutsummaryrefslogtreecommitdiffstats
path: root/src/de/gultsch/chat/entities/Message.java
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/de/gultsch/chat/entities/Message.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/de/gultsch/chat/entities/Message.java b/src/de/gultsch/chat/entities/Message.java
index d53e93c1..a168c645 100644
--- a/src/de/gultsch/chat/entities/Message.java
+++ b/src/de/gultsch/chat/entities/Message.java
@@ -127,5 +127,9 @@ public class Message extends AbstractEntity {
public void markUnread() {
this.read = false;
}
+
+ public void setTime(long time) {
+ this.timeSent = time;
+ }
}