A bug was reported where chat channels became empty after deleting a user who had posted in them, accompanied by a console error: Uncaught TypeError: Cannot read properties of null (reading 'username')Don. mcwumbly confirmed the issue and noted it was prioritized, with a fix expected the following week mcwumbly. The fix was later merged into the Discourse Chat plugin mcwumbly, and Don confirmed the issue was resolved after updating, expressing gratitude.
I noticed on our forum the chat channels are empty after we deleted a user from Discourse, who wrote in the specific channel. I updated before I write this topic so Discourse and Discourse Chat is also on latest.
Repro:
Write a message in a channel with UserA
Delete UserA from Discourse
The channel is seems to empty (the other members messages also disappears) with the following console error.