HotFix
All checks were successful
Setup testing environment and test the code / build (push) Successful in 57s
Publish to NPM / build-and-publish (release) Successful in 33s

This commit is contained in:
2026-04-09 11:18:47 +02:00
parent 0e553767b6
commit d04bd6a437

View File

@@ -39,7 +39,6 @@ export class DMService {
onNewConnId: this.onNewConnId,
onNewMessage: wsMessageListener,
})
this.joinWebSocketRoom().then()
}
private onNewConnId(newConnId: string) {
@@ -244,7 +243,7 @@ export class DMService {
/**
* Joins the WebSocket room to start receiving realtime messages
*/
private async joinWebSocketRoom(): Promise<void> {
async joinWebSocketRoom(): Promise<void> {
try {
await this.client.post("v2/chat/dm/joinWebSocketRoom", <JoinWsRoomReq>{
chatid: this.chatid,