# 用户将“赞”更改为“反应”可能导致通知菜单中的数字错误

**URL:** <https://meta.discourse.org/t/a-user-changing-their-like-to-a-reaction-can-lead-to-wrong-numbers-in-notification-menu/396750>\
**Category:** Bug\
**Tags:** notifications, reactions\
**Created:** [2026 年2 月 22 日 22:09 UTC](https://meta.discourse.org/t/a-user-changing-their-like-to-a-reaction-can-lead-to-wrong-numbers-in-notification-menu/396750 "2026-02-22T22:09:25Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
发布日期： [2026 年2 月 22 日 22:09 UTC](https://meta.discourse.org/t/a-user-changing-their-like-to-a-reaction-can-lead-to-wrong-numbers-in-notification-menu/396750/1 "2026-02-22T22:09:25Z")

</div>

正如您在下面的截图中看到的，我的帖子总共有 4 个反应（2 个 ❤ 和 2 个 👏）。但我的通知显示帖子有 2 个反应和 3 个赞。

 ![reactions-notifications](https://global.discourse-cdn.com/meta/original/4X/9/b/b/9bbaebac0a8f3af8d513b1402ee9737d8064f376.png)

先决条件：

- 我不确定这是否需要，但我的“被点赞时通知我”偏好设置配置为“始终”。
- “discourse reactions enabled reactions”插件已启用，并且至少为该设置配置了第二个反应。所有其他反应设置均为默认设置。
- 您拥有您的帐户和 4 个测试用户

重现步骤：

1. 用您的用户创建一个主题
2. 冒充/登录为您的第一个测试用户并在帖子中选择反应（我使用了 👏）
3. 冒充/登录为您的第二个测试用户并点赞该帖子。
4. 冒充/登录为您的第三个测试用户并点赞该帖子。
5. 冒充/登录为您的第四个测试用户并点赞该帖子。  
6.（可选）查看作者的通知 - 有 1 条关于 4 个反应的通知，由心形图标表示。
6. 再次冒充/登录为您的第四个测试用户并将您的赞更改为反应。
7. 检查帖子作者的通知

**预期结果** ：赞和反应被归为一个通知，显示 4 个反应，带有心形图标或反应图标。  
**实际结果** ：出现 2 个通知 - 一个关于 2 个反应，另一个关于 3 个赞（1 个和其他 2 个用户），总共是 5 个。

我认为如果通知仍然是包含赞和反应的汇总通知会很好。如果必须将它们分开，那么至少修复数字会很不错。

---

_[View the full topic](https://meta.discourse.org/t/a-user-changing-their-like-to-a-reaction-can-lead-to-wrong-numbers-in-notification-menu/396750)._
