[bisq-network/bisq] Bugfix: dispute ticket reopened by mailbox message (PR #5878)

jmacxx notifications at github.com
Mon Nov 29 16:20:47 CET 2021


Some dispute tickets would show as open on the client side after being closed by dispute agent.

This can happen when

- dispute agent writes a chat message before closing the ticket,
- dispute client is offline (so will receive mailbox notification at startup),
- dispute client receives from mailbox the DisputeResult before the chat message.

The DisputeResult message is processed, closing the ticket.  Then the (earlier) chat mailbox message is received, causing the ticket to be reopened.

The solution, when checking if a chat message reopens the ticket, is to sort them by timestamp.


You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Bugfix: dispute ticket reopened by mailbox message

-- File Changes --

    M core/src/main/java/bisq/core/notifications/alerts/DisputeMsgEvents.java (8)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/5878.patch
https://github.com/bisq-network/bisq/pull/5878.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/5878
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20211129/de64d843/attachment.htm>


More information about the bisq-github mailing list