don't mark message as delivery_failed when cancel didn't work. fixes #2387

This commit is contained in:
Daniel Gultsch 2017-03-19 20:16:11 +01:00
parent 30ed6b3cec
commit 6167ddb4a8

View file

@ -815,8 +815,6 @@ public class ConversationFragment extends Fragment implements EditMessage.Keyboa
Transferable transferable = message.getTransferable();
if (transferable != null) {
transferable.cancel();
} else {
activity.xmppConnectionService.markMessage(message, Message.STATUS_SEND_FAILED);
}
}