[bisq-network/bisq] Keep chatview listener open until ack, mailbox, or error (#5632)

jmacxx notifications at github.com
Fri Jul 23 06:40:26 CEST 2021


#5599 had an side effect that did not manifest until tested on mainnet (with tor, latency etc).

Chat message status was not picked up by the display, even if it was set correctly on the object (scrolling up and down on the chat box would update the display to correct status).  This happened because the ChatView stopped listening for updates prematurely.  Changed it to wait for acknowledged status instead of arrived status.

The timeout for displaying a `Try sending message again` error message had to be increased from 5 seconds to 60.  In mainnet it routinely takes 7 - 16 seconds to open a tor connection so the try again message was being shown all the time unless a connection was already established.  60 seconds gives enough time for the message to be acked, or saved to mailbox.  Then only the rare outliers should get the try again message when the message apparently arrives but is not acked (#5526).
You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq/pull/5632

-- Commit Summary --

  * keep chatview listener open until ack, mailbox, or error

-- File Changes --

    M core/src/main/java/bisq/core/support/messages/ChatMessage.java (2)
    M desktop/src/main/java/bisq/desktop/main/shared/ChatView.java (21)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/5632.patch
https://github.com/bisq-network/bisq/pull/5632.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/5632
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20210722/89e46683/attachment-0001.htm>


More information about the bisq-github mailing list