Sender closing and re-opening DM chat after sending a message removes unread indicator for receiving user

I know there are already some topics about missing chat notifications, but I don’t think the repro steps I found match the problem in any of the existing ones. I discovered this more by accident. I am not sure closing and reopening a DM chat is something users perform frequently, but I still think it shouldn’t happen, and maybe it’s a hint on why I am sometimes not notified about chat messages.

The missing notification I mean is any green indicator on the icon in the header or sidebar.

Steps to reproduce:

  1. Log in as user1, that is allowed to send DMs
  2. Send a chat message to user2.
  3. Close the DM chat - not the chat itself, but use the x button in the sidebar or chat drawer.
  4. Use the plus to open the chat with user2 again.
  5. Log in as user2.

Expected result: There is a green indicator at the chat icon in the header, and the DM is in the list of DMs with a green unread indicator next to it.

Actual result: There is no way to find out user1 messaged you. You can only find out when you want to send a message to them and find the message after you open the conversation. Then you can see that it’s below the read line showing your reading progress.

Note: When you log in as user2 before performing step 4, you can still see the notification as expected. In case you work with 2 browser windows, you need to reload the window where user 2 is logged in after user1 performed step 4

לייק 1

Thanks @Moin. @davidb can you try to investigate this please?