ダイレクトメッセージ(DM)のチャットアイコンバッジカウントが表示されない問題

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?



03

「いいね!」 3

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.

「いいね!」 2

Thank you very much for joining the discussion and sharing your experience :folded_hands:

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.

Happy to provide more details if needed.

「いいね!」 2