From d3b62b1a588a81c62c0728c00d2ce8512a7ae22b Mon Sep 17 00:00:00 2001 From: jmacxx <47253594+jmacxx@users.noreply.github.com> Date: Tue, 23 Feb 2021 21:12:59 -0600 Subject: [PATCH] TraderChatManager to handle onAllServicesInitialized Upon receipt of onAllServicesInitialized, TraderChatManager should call tryApplyMessages in order to process any pending mailbox messages stored up while offline. --- .../java/bisq/core/support/traderchat/TraderChatManager.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/main/java/bisq/core/support/traderchat/TraderChatManager.java b/core/src/main/java/bisq/core/support/traderchat/TraderChatManager.java index 4c0406f429..a2dc887ad9 100644 --- a/core/src/main/java/bisq/core/support/traderchat/TraderChatManager.java +++ b/core/src/main/java/bisq/core/support/traderchat/TraderChatManager.java @@ -139,6 +139,11 @@ public class TraderChatManager extends SupportManager { // API /////////////////////////////////////////////////////////////////////////////////////////// + public void onAllServicesInitialized() { + super.onAllServicesInitialized(); + tryApplyMessages(); + } + public void onSupportMessage(SupportMessage message) { if (canProcessMessage(message)) { log.info("Received {} with tradeId {} and uid {}",