私信(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

1 个赞