Dock notification counter doesn't show the number of unread message in a thread
Describe the bug When someone responds in a thread, the badge counter on the Rocket.Chat dock icon display a dot instead of the number of unread message. I can see next to the name of the person messaging me the counter of unread message being increased properly so I'm guessing it's an issue with the Electron app itself. The counter works fine if messages are sent in the "normal" conversation thread. It might be related to this https://github.com/RocketChat/Rocket.Chat.Electron/issues/1395 but as it's on another platform
Operating system: MacOs 12.3.1 Version of Rocket.Chat (Server): 4.6.2 Version of Rocket.Chat.Electron (Electron/Desktop): 3.8.4
Steps to reproduce the behavior:
- Send a direct message from personA to personB.
- Notice that the counter of personB works fine
- Send a message in the thread of the previous message.
- Notice that the counter of personB still says 1 instead of 2. If you had read the previous message, it would display a dot instead of 1.
- Notice that the number of unread message in the sidebar is displaying the correct number
Expected behavior The number of unread messages should increase, regardless of the origin of the notification (thread or not)