diff --git a/app/src/conf.ts b/app/src/conf.ts index 576bf1a..52307f2 100644 --- a/app/src/conf.ts +++ b/app/src/conf.ts @@ -1,6 +1,6 @@ import axios from "axios"; -export const version = "3.3.2"; +export const version = "3.3.3"; export const deploy: boolean = true; export let rest_api: string = "http://localhost:8094"; export let ws_api: string = "ws://localhost:8094"; diff --git a/app/src/conversation/conversation.ts b/app/src/conversation/conversation.ts index 5e2e8a1..a089726 100644 --- a/app/src/conversation/conversation.ts +++ b/app/src/conversation/conversation.ts @@ -17,6 +17,7 @@ export class Conversation { this.idx = -1; this.id = id; this.end = true; + this.connection = new Connection(this.id); } public setId(id: number): void { diff --git a/app/src/conversation/manager.ts b/app/src/conversation/manager.ts index 073b797..a7d9a51 100644 --- a/app/src/conversation/manager.ts +++ b/app/src/conversation/manager.ts @@ -94,7 +94,6 @@ export class Manager { ); const target = await useHook(); this.conversations[target] = this.conversations[-1]; - this.get(target)!.setId(target); delete this.conversations[-1]; // fix pointer this.conversations[-1] = this.createConversation(-1); this.current = target;