[BUG] - Chat Component does not receive chat messages, no /subsriptions requests made
Describe the bug The MGTK Chat Component as deployed and configured according to https://learn.microsoft.com/en-us/graph/toolkit/components/chat renders and displays the current state of a conversation. However any new messages sent or received are not shown in the component. I suspect that the subscriptions for new messages is not being set up correctly. No POST requests to /subscriptions are seen. No obvious errors in Console. Reproduced against sample here: https://github.com/microsoftgraph/microsoft-graph-toolkit/tree/next%2Fmgt-chat/samples%2Freact-chat
To Reproduce Steps to reproduce the behavior:
- Add component to project
- Select a user to load/start a chat session. For existing chat sessions, the conversation will be shown.
- Have the user not using the component send you a message (using the Teams client, for instance)
- The new message is not shown in the component
Video repo that shows no calls made to /subscriptions: https://youtu.be/gS-gFwArOQg
Expected behavior Messages sent and received in the chat over time should be displayed in the component.
Screenshots Video repo that shows no calls made to /subscriptions: https://youtu.be/gS-gFwArOQg
Environment (please complete the following information):
- OS: Windows 11
- Browser: Edge
- Framework: React
- Context: Web / Microsoft Teams
- Version [e.g. 0.1]: @microsoft/[email protected]
- M365 / Azure Region: UK
Hello @tomorgan, thank you for trying out MGT chat component. This component is currently in maintenance mode without significant updates lately. I will try and reproduce this during the week though.
@musale what's the status of mgt-chat lib? Will it be abandoned? Also, can you recommend any alternative lib?
@musale @Mnickii Do you have any updates ? I met the same issue. There's no functionHost and appid in brokersettings. I used the latest version "@microsoft/mgt-chat": "4.0.0-next.mgt-chat.8627a91",
@musale @Mnickii will this component be merged to main in the following weeks/months or will it be abandoned?
@carlos-guilherme-araujo-alb sorry for the late response. This component will not be merged to main. The team is reduced on this so the toolkit was put in maintainance mode.