diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-09-04 20:42:17 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-09-04 20:42:17 +0200 |
commit | a3eaed68e9bbde3433fb047202ce450fc2b5eb10 (patch) | |
tree | 4cac84ab3e624a54935a13a6bba3254976329644 /src/main/java | |
parent | caa0eba953b1f62595de5b9625a6ed90297e401f (diff) |
set status=received on status messages
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/de/pixart/messenger/entities/Message.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/entities/Message.java b/src/main/java/de/pixart/messenger/entities/Message.java index d5a2cdaa1..95a08500c 100644 --- a/src/main/java/de/pixart/messenger/entities/Message.java +++ b/src/main/java/de/pixart/messenger/entities/Message.java @@ -202,6 +202,7 @@ public class Message extends AbstractEntity { public static Message createStatusMessage(Conversation conversation, String body) { final Message message = new Message(conversation); message.setType(Message.TYPE_STATUS); + message.setStatus(Message.STATUS_RECEIVED); message.body = body; return message; } |