Skip to content

"html" messages do not render in chat in ChatComposite #824

@mmarinhomac

Description

@mmarinhomac

All messages of type "html" are not rendered in chat!

With two chats open in parallel, sending a file through the first one, in the second chat in real time it is possible to see the message (tag a with link) that has just been sent, but when closing the chat and reopening all html messages are not rendered.

I'm sending a message like this:

const threadClient = new ChatThreadClient(endpointUrl, threadId, new AzureCommunicationTokenCredential(token));
threadClient.sendMessage({
  senderDisplayName: chatData.userName,
  content : `<a href='google.com' target='_blank'>Arquivo</a>`
}, { type : "html" });

Chat - Image:
chat-without-links

HTML DevTool - Image:
html-without-links

Response API - Image:
response-api-with-links

  • Windows on PC
  • Browser [Google Chrome]
  • Version lib beta.4 and beta.5 ❌

Version beta.3 working normally ✅

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtracked in adoBug is being tracked in Team's Azure Dev Ops

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions