<p>As described in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="900220401" data-permission-text="Title is private" data-url="https://github.com/bisq-network/bisq/issues/5526" data-hovercard-type="issue" data-hovercard-url="/bisq-network/bisq/issues/5526/hovercard" href="https://github.com/bisq-network/bisq/issues/5526">#5526</a>, there are cases where network messages get the arrived status but no ACK and the receiver never actually saw the message.  This can be cause of confusion because the "arrived" status is generally used by the sender as indication that all is good.  The ACK is generally ignored.</p>
<p>To remedy this for Chat messages, this PR displays the sent message as "In transit" until the ACK is received back, or it times out and displays status describing the problem and asking the user to try again.  The timeout is 5 seconds.  An ACK can still be received after 5 seconds, in which case the status will update to show that the message arrived.</p>
<h3>Screenshots</h3>
<p>Sent the message, waiting for the ACK:<br>
<a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/47253594/120505101-4a09ee00-c38a-11eb-9024-56a3c6944b24.png"><img src="https://user-images.githubusercontent.com/47253594/120505101-4a09ee00-c38a-11eb-9024-56a3c6944b24.png" alt="image" style="max-width:100%;"></a></p>
<p>ACK received back:<br>
<a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/47253594/120505324-7b82b980-c38a-11eb-88e5-773ebe66db70.png"><img src="https://user-images.githubusercontent.com/47253594/120505324-7b82b980-c38a-11eb-88e5-773ebe66db70.png" alt="image" style="max-width:100%;"></a></p>
<p>No ACK received back:<br>
<a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/47253594/120505283-73c31500-c38a-11eb-8edf-e4f6287feec8.png"><img src="https://user-images.githubusercontent.com/47253594/120505283-73c31500-c38a-11eb-8edf-e4f6287feec8.png" alt="image" style="max-width:100%;"></a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/bisq-network/bisq/pull/5551'>https://github.com/bisq-network/bisq/pull/5551</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>ChatMessage show error if no ACK received</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5551/files#diff-ddfedfeef385bf2139279ae3e517cd3c4dd83308de409c3d6d56a31698dfba52">core/src/main/java/bisq/core/support/messages/ChatMessage.java</a>
    (12)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5551/files#diff-a6cc570e0f56a36136791beae8f497706216230467708be9343344cd953e5f08">core/src/main/resources/i18n/displayStrings.properties</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5551/files#diff-63cad11c070fee7154615affe7949f75b0b47e394dbafde0b441f79cdc64fe92">desktop/src/main/java/bisq/desktop/main/shared/ChatView.java</a>
    (6)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/bisq-network/bisq/pull/5551.patch'>https://github.com/bisq-network/bisq/pull/5551.patch</a></li>
  <li><a href='https://github.com/bisq-network/bisq/pull/5551.diff'>https://github.com/bisq-network/bisq/pull/5551.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/5551">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNSA3UJIUVYUVRAGFZ3TQZDI5ANCNFSM4566NIWQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNUWBOMDBVXC6TLLZYDTQZDI5A5CNFSM4566NIW2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4NRXSTVQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/5551",
"url": "https://github.com/bisq-network/bisq/pull/5551",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>