mirror of
https://github.com/moparisthebest/Conversations
synced 2024-12-25 00:48:52 -05:00
fixed regression of showing delivery failed after receipt
This commit is contained in:
parent
9edbddd7e1
commit
7978fd768e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user