# 发送者在发送消息后关闭并重新打开私信聊天会移除接收者的未读标记

**URL:** <https://meta.discourse.org/t/sender-closing-and-re-opening-dm-chat-after-sending-a-message-removes-unread-indicator-for-receiving-user/390214>\
**Category:** Bug\
**Tags:** notifications, chat\
**Created:** [2025年十二月2日 22:40 UTC](https://meta.discourse.org/t/sender-closing-and-re-opening-dm-chat-after-sending-a-message-removes-unread-indicator-for-receiving-user/390214 "2025-12-02T22:40:41Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
**Post date:** [2025年十二月2日 22:40 UTC](https://meta.discourse.org/t/sender-closing-and-re-opening-dm-chat-after-sending-a-message-removes-unread-indicator-for-receiving-user/390214/1 "2025-12-02T22:40:41Z")

</div>

我知道已经有一些关于聊天通知丢失的帖子，但我认为我发现的重现步骤与现有帖子中的问题不符。我是偶然发现这个问题的。我不确定用户是否经常执行关闭和重新打开私聊的操作，但我仍然认为这不应该发生，而且这可能是我有时收不到聊天消息的原因。

我所说的丢失的通知是指标题栏或侧边栏图标上的任何绿色指示器。

重现步骤：

1. 以允许发送私聊的用户1的身份登录
2. 向用户2发送一条聊天消息。
3. 关闭私聊——不是关闭聊天本身，而是使用侧边栏或聊天抽屉中的 `x` 按钮。
4. 使用加号按钮再次打开与用户2的聊天。
5. 以用户2的身份登录。

**预期结果：** 标题栏的聊天图标上有一个绿色指示器，并且私聊列表中的私聊旁边有一个绿色的未读指示器。

**实际结果：** 没有任何方法可以知道用户1给你发了消息。只有当你想要给他们发送消息时，打开对话后才能看到消息。然后你会发现它在显示你的阅读进度的已读标记下方。

**注意：** 如果你在执行步骤4之前以用户2的身份登录，你仍然可以看到预期的通知。如果你使用2个浏览器窗口，在用户1执行步骤4后，你需要重新加载用户2登录的窗口。

---

_[View the full topic](https://meta.discourse.org/t/sender-closing-and-re-opening-dm-chat-after-sending-a-message-removes-unread-indicator-for-receiving-user/390214)._
