Hello,
I’ve encountered an issue with Direct Messages (DMs) in my Discourse forum and would appreciate some guidance.
Problem Description
Sometimes when another user sends me a direct message:
I correctly receive a browser push notification.
However, the chat icon in the top navigation bar does not display any badge count (e.g., “1”).
To see the new message, I have to manually click on the chat icon and open the conversation.
This issue does not happen consistently—it occurs intermittently.
Environment and Details
Discourse version: Latest stable release
Browser: Microsoft Edge (latest version) on Windows 10
Plugins: No plugins installed that affect chat or notifications
Multiple devices: I am logged into my account on several devices
Observed pattern:
On one occasion, I received a new DM but the chat icon did not show any badge.
When I logged in with another account and sent myself a test message from a different browser, the chat icon suddenly updated and displayed the correct badge count for both messages (the earlier one and the new one).
The user whose message did not trigger the badge was a newly registered account (only a few hours old). I am not sure if this is related.
Attachments
I’ve attached screenshots showing the notification behavior and my settings for clarity.
Expected Behavior
Whenever I receive a new DM, I expect the chat icon to always display the correct badge count, regardless of whether the sender is a newly registered user or whether I’m logged in on multiple devices.
Is this a known bug, or could it be related to a specific configuration?
I also sometimes find new DMs in my messages here even though there is no dot displayed in the sidebar and no number at the top on the chat icon. Nevertheless, the “last visit” line clearly indicates that these messages are new to me.
But I have not yet been able to identify when this happens. The only thing I know for sure is that I was always logged out when this happened.
In my case, the user whose message didn’t trigger a notification is an admin, so I don’t think the fact that you encountered it with a new user is relevant.
Do you use the DiscourseHub app? I wondered if that is involved. If you don’t use the app, I could probably rule it out.
Thank you very much for joining the discussion and sharing your experience
I’ve had exactly the same issue, except that I was not logged out when it happened. Still, the new message appeared without any badge on the chat icon—I only noticed it after manually opening the chat section.
I’ve installed the DiscourseHub app on my phone just for testing purposes, but I don’t actively use it. The issue I described occurred on Windows, using the Edge browser.
Not sure if this is helpful, but it just happened again in a DM here on Meta. I was not online when the message was sent. It did not show in Discourse Hub. No indicator after logging in. I only noticed that a different user was at the top of the DM chats in my sidebar.
두 번째 메시지에는 이메일 알림이 없는데, 이 메시지는 이전 메시지에 대한 답장입니다.
헤더의 아이콘에 새 채팅 메시지 2건에 대한 알림이 표시되는 스크린샷도 있습니다. (배지에 대한 알림이 없어서 다행이라 알림 화면을 스크린샷으로 찍었습니다. 채팅 알림 수가 포함되어 있는 것은 행운의 일치입니다.)