diff --git a/examples/server/public_simplechat/simplechat.js b/examples/server/public_simplechat/simplechat.js index 12541345d..507eef731 100644 --- a/examples/server/public_simplechat/simplechat.js +++ b/examples/server/public_simplechat/simplechat.js @@ -218,24 +218,20 @@ let gChatURL = { } const gbCompletionFreshChatAlways = true; -class MultiChat { +class MultiChatUI { constructor() { /** @type {number} */ this.iChat = -1; /** @type {SimpleChat[]} */ this.simpleChats = []; - /** @type {string[]} */ - this.baseURLs = []; } /** * Start a new chat - * @param {string} baseURL */ - new_chat(baseURL) { + new_chat() { this.simpleChats.push(new SimpleChat()); - this.baseURLs.push(baseURL); this.iChat = this.simpleChats.length - 1; }