From 6777ecdb00a0184af64bd86aba28d48cc0085dd5 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Mon, 21 Aug 2017 16:19:35 +0200 Subject: [PATCH] set status=received on status messages --- src/main/java/eu/siacs/conversations/entities/Message.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/eu/siacs/conversations/entities/Message.java b/src/main/java/eu/siacs/conversations/entities/Message.java index ca88c341..cc594d1c 100644 --- a/src/main/java/eu/siacs/conversations/entities/Message.java +++ b/src/main/java/eu/siacs/conversations/entities/Message.java @@ -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; }