Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - Chat Component does not receive chat messages, no /subsriptions requests made #3268

Open
tomorgan opened this issue Aug 1, 2024 · 2 comments
Assignees
Labels
bug Something isn't working Components: mgt-chat Mgt chat related issues Priority: 1

Comments

@tomorgan
Copy link

tomorgan commented Aug 1, 2024

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:

  1. Add component to project
  2. Select a user to load/start a chat session. For existing chat sessions, the conversation will be shown.
  3. Have the user not using the component send you a message (using the Teams client, for instance)
  4. 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
@tomorgan tomorgan added bug Something isn't working Needs: Triage 🔍 labels Aug 1, 2024
@github-project-automation github-project-automation bot moved this to Needs Triage 🔍 in Graph Toolkit Aug 1, 2024
@musale
Copy link
Contributor

musale commented Aug 5, 2024

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 musale added the Components: mgt-chat Mgt chat related issues label Aug 5, 2024
@AndreMaz
Copy link

@musale what's the status of mgt-chat lib? Will it be abandoned? Also, can you recommend any alternative lib?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Components: mgt-chat Mgt chat related issues Priority: 1
Projects
Status: Needs Triage 🔍
Development

No branches or pull requests

4 participants