TraderChatManager to handle onAllServicesInitialized

Upon receipt of onAllServicesInitialized, TraderChatManager should
call tryApplyMessages in order to process any pending mailbox
messages stored up while offline.
This commit is contained in:
jmacxx 2021-02-23 21:12:59 -06:00
parent 0e5c7e5de7
commit d3b62b1a58
No known key found for this signature in database
GPG Key ID: 155297BABFE94A1B

View File

@ -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 {}",