# 无法访问的消息通知为空

**URL:** https://meta.discourse.org/t/notifications-for-a-message-we-dont-have-access-anymore-are-empty/358301
**Category:** UX
**Tags:** notifications, chat
**Created:** [2025年三月21日 10:13 UTC](https://meta.discourse.org/t/notifications-for-a-message-we-dont-have-access-anymore-are-empty/358301 "2025-03-21T10:13:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [2025年三月21日 10:13 UTC](https://meta.discourse.org/t/notifications-for-a-message-we-dont-have-access-anymore-are-empty/358301/1 "2025-03-21T10:13:19Z")

</div>

我无法验证通知为空的原因，因为它……是空的，但我_认为_这就是原因。

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/c/d/dcd060cb3614a4089c76b49166d1606927b2972a.png)

来自 `/my/notifications`：

 ![The image shows a black screen with three entries related to different guides, all from September 2023, with a profile avatar of a robot for the first entry and one of a person in the second entry. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/6/b/0/6b04a0141d26d286f40cb16149b165ab3e7ee6c0.png)

图标未显示，并且缺少 title 属性。

通知的 HTML 代码：

```html
<li class="notification read chat-message">
  <a title="[en.notifications.titles.chat_message]">
    <div class="icon-avatar user-avatar">
      <img lazy="lazy" src="https://d3bpeqsaub0i6y.cloudfront.net/user_avatar/meta.discourse.org/jammydodger/48/254611_2.png" width="48" height="48" class="avatar">
      <div class="icon-avatar__icon-wrapper">
        <svg class="fa d-icon d-icon-notification.chat_message svg-icon svg-string" xmlns="http://www.w3.org/2000/svg">
          <use href="#notification.chat_message"></use>
        </svg>
      </div>
    </div>
    <div>
      <!-- -->
    </div>
    <!-- -->
  </a>
  <!-- -->
</li>

```
