microsoft-graph-toolkit
microsoft-graph-toolkit copied to clipboard
[BUG] [MGT-CHAT] "You cannot send a message" can appear when clicking between chats
Describe the bug If you navigate between multiple chats (for instance, using ChatList) you can reach the subscription limit when returning to a chat. This also seems to cause "You cannot send a message" to appear even though it does still appear to work.
When in this state, you also often see error reading "api" (screenshot below).
To Reproduce Steps to reproduce the behavior:
- Navigate to a chat.
- Navigate to a different chat.
- Navigate back to the original chat.
- See error
Expected behavior Reaching the subscription limit is not necessarily a problem as long as the original subscription is used. "You cannot send a message" should not appear if the subscription is re-used.
Screenshots
Environment (please complete the following information):
- OS: macOS Monterey 12.7.3
- Browser: Edge
- Framework: React
- Context: Web
- Version MGT v4
- Provider: Msal2Provider
Additional context I am a MSFT FTE and can be reached in Teams at pelasne.