diff --git a/bun.lockb b/bun.lockb index bef7116e..3db90f3c 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/dist/index.js b/dist/index.js index 143bfaee..77c1bca8 100644 --- a/dist/index.js +++ b/dist/index.js @@ -490,6 +490,7 @@ const newChat = new Chat(); chats.add(newChat); newChat.primaryChannel.value = name; + newChat.primaryChannelInput.value = name; chatIds.add(newChat.id); UDN.subscribe(name); } diff --git a/src/Model/chatModel.ts b/src/Model/chatModel.ts index df950993..47095329 100644 --- a/src/Model/chatModel.ts +++ b/src/Model/chatModel.ts @@ -209,6 +209,7 @@ export function createChatWithName(name: string): void { chats.add(newChat); newChat.primaryChannel.value = name; + newChat.primaryChannelInput.value = name; chatIds.add(newChat.id); UDN.subscribe(name);