From 1b4876a861e532b76c28fd2c4a49ca09dc67b8c1 Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Thu, 2 Jun 2022 14:24:36 +0100 Subject: [PATCH] fix constructor --- core/src/main/groovy/com/muwire/core/chat/ChatManager.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/groovy/com/muwire/core/chat/ChatManager.groovy b/core/src/main/groovy/com/muwire/core/chat/ChatManager.groovy index 2b6ab58e..36680a12 100644 --- a/core/src/main/groovy/com/muwire/core/chat/ChatManager.groovy +++ b/core/src/main/groovy/com/muwire/core/chat/ChatManager.groovy @@ -47,7 +47,8 @@ class ChatManager { eventBus.publish(new ChatConnectionEvent(status : ChatConnectionAttemptStatus.SUCCESSFUL, persona : me, connection : LocalChatLink.INSTANCE, defaultRoom: defaultChatRoom)) } else { - ChatClient client = new ChatClient(connector, eventBus, e.host, me, trustService, settings) + ChatClient client = new ChatClient(connector, eventBus, e.host, me, profileSupplier, + trustService, settings) clients.put(e.host, client) } }