microsoft-graph-toolkit icon indicating copy to clipboard operation
microsoft-graph-toolkit copied to clipboard

[BUG] [MGT-CHAT] "You cannot send a message" can appear when clicking between chats

Open plasne opened this issue 4 months ago • 0 comments

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:

  1. Navigate to a chat.
  2. Navigate to a different chat.
  3. Navigate back to the original chat.
  4. 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 image

image

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.

plasne avatar Feb 21 '24 15:02 plasne