From 7978fd768e07725da51ad2d7f84847af3b7badc4 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Mon, 7 Nov 2016 21:57:08 +0100 Subject: [PATCH] fixed regression of showing delivery failed after receipt --- .../eu/siacs/conversations/services/XmppConnectionService.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java index 15ad7baa6..12f20d036 100644 --- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java @@ -2980,8 +2980,7 @@ public class XmppConnectionService extends Service { public void markMessage(Message message, int status, String errorMessage) { if (status == Message.STATUS_SEND_FAILED && (message.getStatus() == Message.STATUS_SEND_RECEIVED || message - .getStatus() == Message.STATUS_SEND_DISPLAYED) - && errorMessage == null) { + .getStatus() == Message.STATUS_SEND_DISPLAYED)) { return; } message.setErrorMessage(errorMessage);