# 已安装PWA：解决后通知依然延迟

**URL:** https://meta.discourse.org/t/installed-pwa-notifications-lag-after-resolved/372306
**Category:** Feature
**Tags:** notifications, mobile, pwa
**Created:** [2025年六月30日 17:30 UTC](https://meta.discourse.org/t/installed-pwa-notifications-lag-after-resolved/372306 "2025-06-30T17:30:20Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ecki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ecki/32/264025_2.png) [@ecki](https://meta.discourse.org/u/ecki)
#### Post date: [2025年六月30日 17:30 UTC](https://meta.discourse.org/t/installed-pwa-notifications-lag-after-resolved/372306/1 "2025-06-30T17:30:20Z")

</div>

安装为 iOS 书签/网页应用的 Discourse 前端是一个出色的移动客户端。然而，很多时候我打开它是因为它有一个红色的未读徽章，但菜单里并没有未读文章。

我试过切换分类，甚至终止浏览器应用或刷新，但徽章总是需要相当长的时间才能消失。

所讨论的 Discourse 是一个 Docker 自托管安装，带有独立的数据库和 Redis 容器。我能提供什么来调试这个问题吗？

---

<div class="post-metadata">

### Author: ![ecki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ecki/32/264025_2.png) [@ecki](https://meta.discourse.org/u/ecki)
#### Post date: [2025年六月30日 17:44 UTC](https://meta.discourse.org/t/installed-pwa-notifications-lag-after-resolved/372306/2 "2025-06-30T17:44:25Z")

</div>

也许我有一个怀疑，那个徽章是否也显示管理员操作（例如待处理的更新）。从互联网上我无法访问 /admin URL，因此我无法在那里看到待处理的内容，但它可能在那里。

如果这是一个可能的候选者，那可能不是一个错误，而是我的特定设置存在问题。（如果有一个设置可以不通过 PWA 和管理员内容进行通知，那将是我的梦想）。有什么办法可以调用 API 端点来查看哪些内容待处理吗？

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2025年六月30日 18:39 UTC](https://meta.discourse.org/t/installed-pwa-notifications-lag-after-resolved/372306/3 "2025-06-30T18:39:35Z")

</div>

> [@ecki](#):
>
> 也许我有一个怀疑，那个徽章是否也显示管理员操作（例如待处理的更新）

当有未读通知或待审核队列项目时，它将显示。

---

<div class="post-metadata">

### Author: ![ecki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ecki/32/264025_2.png) [@ecki](https://meta.discourse.org/u/ecki)
#### Post date: [2025年七月22日 13:31 UTC](https://meta.discourse.org/t/installed-pwa-notifications-lag-after-resolved/372306/4 "2025-07-22T13:31:45Z")

</div>

是的，问题很可能出在我的 /admin 过滤器上。也许在 admin 类别中添加一个徽章会更清楚，但我想这不是其他人普遍遇到的问题，所以可以关闭了。
