set status=received on status messages
This commit is contained in:
parent
e0fa820436
commit
6777ecdb00
|
@ -200,6 +200,7 @@ public class Message extends AbstractEntity {
|
||||||
public static Message createStatusMessage(Conversation conversation, String body) {
|
public static Message createStatusMessage(Conversation conversation, String body) {
|
||||||
final Message message = new Message(conversation);
|
final Message message = new Message(conversation);
|
||||||
message.setType(Message.TYPE_STATUS);
|
message.setType(Message.TYPE_STATUS);
|
||||||
|
message.setStatus(Message.STATUS_RECEIVED);
|
||||||
message.body = body;
|
message.body = body;
|
||||||
return message;
|
return message;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue