aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-09-04 20:42:17 +0200
committerChristian Schneppe <christian@pix-art.de>2017-09-04 20:42:17 +0200
commita3eaed68e9bbde3433fb047202ce450fc2b5eb10 (patch)
tree4cac84ab3e624a54935a13a6bba3254976329644 /src/main
parentcaa0eba953b1f62595de5b9625a6ed90297e401f (diff)
set status=received on status messages
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/de/pixart/messenger/entities/Message.java1
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;
}