mark message as failed after canceling ft w/o transferable. fixes #2513
This commit is contained in:
parent
24768d051d
commit
95405fde5f
|
@ -805,6 +805,8 @@ public class ConversationFragment extends Fragment implements EditMessage.Keyboa
|
|||
Transferable transferable = message.getTransferable();
|
||||
if (transferable != null) {
|
||||
transferable.cancel();
|
||||
} else if (message.getStatus() != Message.STATUS_RECEIVED) {
|
||||
activity.xmppConnectionService.markMessage(message,Message.STATUS_SEND_FAILED);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue