# 私信（DM）聊天图标徽章计数未显示的问题

**URL:** https://meta.discourse.org/t/issue-with-chat-icon-badge-count-not-showing-for-direct-messages-dms/384734
**Category:** Bug
**Tags:** notifications, chat
**Created:** [2025 年10 月 5 日 20:31 UTC](https://meta.discourse.org/t/issue-with-chat-icon-badge-count-not-showing-for-direct-messages-dms/384734 "2025-10-05T20:31:12Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![serkhelesheyi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/serkhelesheyi/32/497726_2.png) [@serkhelesheyi](https://meta.discourse.org/u/serkhelesheyi)
#### Post date: [2025 年10 月 5 日 20:31 UTC](https://meta.discourse.org/t/issue-with-chat-icon-badge-count-not-showing-for-direct-messages-dms/384734/1 "2025-10-05T20:31:12Z")

</div>

您好，

我在 Discourse 论坛的**私信 (DM)** 功能中遇到一个问题，希望得到一些指导。

### 问题描述

有时当其他用户给我发私信时：

- 我能正确收到浏览器推送通知。
- 但是，顶部导航栏中的聊天图标不显示任何徽章计数（例如，“1”）。
- 要查看新消息，我必须手动点击聊天图标并打开对话。

这个问题并非总是发生，而是间歇性地出现。

### 环境和详细信息

- **Discourse 版本** ：最新稳定版
- **浏览器** ：Microsoft Edge（最新版本），Windows 10
- **插件** ：未安装影响聊天或通知的插件
- **多设备** ：我已登录到多个设备上的帐户
- **观察到的模式** ：
  - 有一次，我收到一条新私信，但聊天图标没有显示任何徽章。
  - 当我使用另一个帐户登录，并从另一个浏览器给自己发送测试消息时，聊天图标突然更新，并显示了之前和新消息的正确徽章计数。
  - 未触发徽章的消息发送者是一个新注册的帐户（仅注册了几个小时）。我不确定这是否有关联。

### 附件

为方便说明，我附上了显示通知行为和我的设置的截图。

### 预期行为

每当我收到一条新私信时，我都期望聊天图标始终显示正确的徽章计数，无论发件人是新注册用户还是我是否在多个设备上登录。

这是已知错误，还是可能与特定配置有关？

 ![0](https://global.discourse-cdn.com/meta/original/4X/5/f/f/5ffcad102fc3f94cdd51662d8a63355c264ce389.png)  
 ![02](https://global.discourse-cdn.com/meta/original/4X/e/1/d/e1d03a1b79c7e7f5ce5268f441bd492d3e83e7de.jpeg)  
 ![03](https://global.discourse-cdn.com/meta/original/4X/7/a/9/7a923b5a60fbc4a5b84afa5e3765b2407ed91bb7.jpeg)

---

_[View the full topic](https://meta.discourse.org/t/issue-with-chat-icon-badge-count-not-showing-for-direct-messages-dms/384734)._
