Open plasne opened 5 months ago
This is valid and I could reproduce them during some of my endeavors in the past. I see it even as a compliance / trust issue. This should get fixed and our stateful client should "know" about these users and format the content / name accordingly.
At present the best we can do is ensure that the display name is set correctly on the messages like this:
This is because, as @plasne noted the callback provided as a render prop only receives the id of the message author and no additional data.
I'll raise this with the ACS team to see if we can get some expansion of the data made available to the onRenderAvatar
callback. Likely this also needs some expansion of the author data on the message object itself to support differentiation between human users and bots.
Describe the bug If chatting with a bot in a group chat, the name of the app/bot will not show next to the datetime and before the message. Unfortunately, this means you don't know who sent the message, a real issue if more than one bot is in a group chat.
To Reproduce Steps to reproduce the behavior:
Expected behavior As with users the sender should visible.
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context This appears to be because the control comes from the ACS component UI library and it only sends the user info, not the full identity block that is sent by the Graph API.