fix bug with chat configuration

This commit is contained in:
marlon-erler
2024-07-09 19:37:59 +02:00
parent 7b25c002e8
commit d6c3af407e
3 changed files with 2 additions and 0 deletions
BIN
View File
Binary file not shown.
+1
View File
@@ -490,6 +490,7 @@
const newChat = new Chat(); const newChat = new Chat();
chats.add(newChat); chats.add(newChat);
newChat.primaryChannel.value = name; newChat.primaryChannel.value = name;
newChat.primaryChannelInput.value = name;
chatIds.add(newChat.id); chatIds.add(newChat.id);
UDN.subscribe(name); UDN.subscribe(name);
} }
+1
View File
@@ -209,6 +209,7 @@ export function createChatWithName(name: string): void {
chats.add(newChat); chats.add(newChat);
newChat.primaryChannel.value = name; newChat.primaryChannel.value = name;
newChat.primaryChannelInput.value = name;
chatIds.add(newChat.id); chatIds.add(newChat.id);
UDN.subscribe(name); UDN.subscribe(name);