set status=received on status messages

This commit is contained in:
Daniel Gultsch 2017-08-21 16:19:35 +02:00
parent e0fa820436
commit 6777ecdb00

View file

@ -200,6 +200,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;
}