There was some report in our Community about the chat message read state not working correctly. The unread badge still there if they read all message in the channel. Finally, today we figured out what’s causing this.
Repro:
Write a message in a channel with userA. (the unread badge will show up to userB (non-staff))
As a staff delete the message what userA sent.
Open the channel with userB. (userB can’t read the message and the unread badge won’t disappear. Even if try it with Shift + esc combination.)
It seems this is happening if the channel latest message has been removed by a staff. If a new message comes the unread badge disappear.