From 4f3eff161eb8c6caa792036f0b89b6e8f0640409 Mon Sep 17 00:00:00 2001 From: pratheek555 Date: Fri, 5 Dec 2025 21:01:42 +0000 Subject: [PATCH 1/2] fixing messages not being rendered inside threads --- packages/api/src/EmbeddedChatApi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api/src/EmbeddedChatApi.ts b/packages/api/src/EmbeddedChatApi.ts index 46690e24e..54c76a565 100644 --- a/packages/api/src/EmbeddedChatApi.ts +++ b/packages/api/src/EmbeddedChatApi.ts @@ -632,7 +632,7 @@ export default class EmbeddedChatApi { try { const { userId, authToken } = (await this.auth.getCurrentUser()) || {}; const messages = await fetch( - `${this.host}/api/v1/chat.getThreadMessages?roomId=${this.rid}&tmid=${tmid}`, + `${this.host}/api/v1/chat.getThreadMessages?roomId=$tmid=${tmid}`, { headers: { "Content-Type": "application/json", From 86867cb6820c7312b344e485d3b51835aa7b4f71 Mon Sep 17 00:00:00 2001 From: pratheek555 Date: Fri, 5 Dec 2025 21:53:28 +0000 Subject: [PATCH 2/2] removing roomId parameter --- packages/api/src/EmbeddedChatApi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api/src/EmbeddedChatApi.ts b/packages/api/src/EmbeddedChatApi.ts index 54c76a565..809b6f4b5 100644 --- a/packages/api/src/EmbeddedChatApi.ts +++ b/packages/api/src/EmbeddedChatApi.ts @@ -632,7 +632,7 @@ export default class EmbeddedChatApi { try { const { userId, authToken } = (await this.auth.getCurrentUser()) || {}; const messages = await fetch( - `${this.host}/api/v1/chat.getThreadMessages?roomId=$tmid=${tmid}`, + `${this.host}/api/v1/chat.getThreadMessages?tmid=${tmid}`, { headers: { "Content-Type": "application/json",