# \`\[quote\]\`用户在更改头像后使用了不正确的用户头像

**URL:** https://meta.discourse.org/t/quote-s-use-incorrect-user-avatar-after-changing-avatar/286750
**Category:** Bug
**Created:** [2023年十一月27日 17:51 UTC](https://meta.discourse.org/t/quote-s-use-incorrect-user-avatar-after-changing-avatar/286750 "2023-11-27T17:51:26Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![roke\_julian\_lockhart](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roke_julian_lockhart/32/540179_2.png) [@roke\_julian\_lockhart](https://meta.discourse.org/u/roke_julian_lockhart)
#### Post date: [2023年十一月27日 17:51 UTC](https://meta.discourse.org/t/quote-s-use-incorrect-user-avatar-after-changing-avatar/286750/1 "2023-11-27T17:51:27Z")

</div>

问题是  
[https://discuss.kde.org/t/how-come-im-seeing-old-avatars-in-quotes/7492?u=rokejulianlockhart](https://discuss.kde.org/t/how-come-im-seeing-old-avatars-in-quotes/7492?u=rokejulianlockhart)

> [@rokejulianlockhart](#):
>
> 展开
> 
> > [@](#):
> >
> > [How to preview DNG files in Dolphin? - #5 by rokejulianlockhart - Help - KDE Discuss](https://discuss.kde.org/t/how-to-preview-dng-files-in-dolphin/2511/5?u=rokejulianlockhart)
> 
> 看到
> 
> > ![image](https://global.discourse-cdn.com/meta/original/4X/a/1/7/a171856a1da056e9a25a6e3744f79b81936852bd.png)

* * *

我在此报告，根据

[https://discuss.kde.org/t/how-come-im-seeing-old-avatars-in-quotes/7492/9?u=rokejulianlockhart](https://discuss.kde.org/t/how-come-im-seeing-old-avatars-in-quotes/7492/9?u=rokejulianlockhart)

> [@rokejulianlockhart](#):
>
> > 构建和 git 哈希在名为“generator”的 `meta` 标签中。提取该标签的命令：
> > 
> > ```plaintext
> > `curl https://discuss.kde.org -s 2>&1 | grep generator`
> > 
> > ```
> 
> 感谢 @dirthsj！这使得诊断此类问题变得更加容易：
> 1. 
> 
> ```plaintext
> curl https://discuss.kde.org -s 2>&1 | grep generator
> 
> ```
> 
> > ```plaintext
> > <meta name="generator" content="Discourse 3.2.0.beta4-dev - https://github.com/discourse/discourse version 34a859d628b5c0689158a222aca7cb9a817a46c7">
> > 
> > ```
> 
> 2. 
> 
> ```plaintext
> curl https://meta.discourse.org -s 2>&1 | grep generator
> 
> ```
> 
> > ```plaintext
> > <meta name="generator" content="Discourse 3.2.0.beta4-dev - https://github.com/discourse/discourse version d93be8c7a1fcf77f51408264731f284da46e6c0c">
> > 
> > ```

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [2023年十一月27日 18:01 UTC](https://meta.discourse.org/t/quote-s-use-incorrect-user-avatar-after-changing-avatar/286750/2 "2023-11-27T18:01:45Z")

</div>

根据 [https://meta.discourse.org/t/old-user-avatars-in-quoted-text/95798/5，我认为更改头像应该会安排重新烘焙……这可能需要一些时间，不会立即生效。](https://meta.discourse.org/t/old-user-avatars-in-quoted-text/95798/5%EF%BC%8C%E6%88%91%E8%AE%A4%E4%B8%BA%E6%9B%B4%E6%94%B9%E5%A4%B4%E5%83%8F%E5%BA%94%E8%AF%A5%E4%BC%9A%E5%AE%89%E6%8E%92%E9%87%8D%E6%96%B0%E7%83%98%E7%84%99%E2%80%A6%E2%80%A6%E8%BF%99%E5%8F%AF%E8%83%BD%E9%9C%80%E8%A6%81%E4%B8%80%E4%BA%9B%E6%97%B6%E9%97%B4%EF%BC%8C%E4%B8%8D%E4%BC%9A%E7%AB%8B%E5%8D%B3%E7%94%9F%E6%95%88%E3%80%82)

如果您是管理员，可以尝试手动使用菜单中的“`rebuild HTML`”来查看头像是否已更新：

 ![Screenshot 2023-11-27 at 12.57.07 PM](https://global.discourse-cdn.com/meta/original/4X/0/2/9/0297993905af99fcb685707749f3ca4c8a890921.png)

如果这有效……那么重新烘焙正在按预期工作，但自动过程要么尚未完成所有帖子的更新，要么因某种原因失败了。

---

<div class="post-metadata">

### Author: ![roke\_julian\_lockhart](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roke_julian_lockhart/32/540179_2.png) [@roke\_julian\_lockhart](https://meta.discourse.org/u/roke_julian_lockhart)
#### Post date: [2023年十一月28日 01:16 UTC](https://meta.discourse.org/t/quote-s-use-incorrect-user-avatar-after-changing-avatar/286750/3 "2023-11-28T01:16:33Z")

</div>

“ [`[quote]`s use incorrect user avatar after changing avatar - #2 by awesomerobot](https://meta.discourse.org/t/quote-s-use-incorrect-user-avatar-after-changing-avatar/286750/2?u=rokejulianlockhart)

@awesomerobot，我更希望能够将您的帖子标记为解决方案。此插件在此实例上未激活吗？

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2023年十一月28日 08:13 UTC](https://meta.discourse.org/t/quote-s-use-incorrect-user-avatar-after-changing-avatar/286750/4 "2023-11-28T08:13:06Z")

</div>

我不再认为头像变更后引号会自动重新渲染了吗？我的一些旧头像（在更换图片之前）仍显示“J”（不过如果编辑或重新构建 HTML 会更新）：例如

[Using Discourse as a social media platform - #7 by anon73664359](https://meta.discourse.org/t/using-discourse-as-a-social-media-platform/202133/7)

 ![old avatar](https://global.discourse-cdn.com/meta/original/4X/a/d/2/ad204890ad711693e086b99c36c8a166bb4391d1.png)

不过我记得之前曾有人提出过这是一个 #Contribute > Bug，所以如果确实存在故障，可能已经持续一段时间了：

> [@个人资料图片更换错误](https://meta.discourse.org/t/profile-image-changing-bug/217184/3?u=jammydodger):
>
> 更改头像是否会重新烘焙用户引用的帖子？我不确定时间表。 \*\*编辑：\*\*我现在不确定了。:slightly\_smiling\_face:我一直在耐心等待它在我的测试站点上神奇地生效，但还没有成功。我敢肯定我曾在非员工论坛上看到过它在起作用，但回顾过去一个月中来自那里的几个 oneboxed 和引用的链接，似乎我仍然拥有旧头像。:thinking: 当我搜索时，我发现了这个，我认为它证实了它确实为他们重新烘焙了，但我认为我可能弄混了：

---

<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: [2023年十二月2日 09:04 UTC](https://meta.discourse.org/t/quote-s-use-incorrect-user-avatar-after-changing-avatar/286750/6 "2023-12-02T09:04:39Z")

</div>

该插件已启用，但不在 #Contribute > Bug 分类中。在问题修复后，该主题会被关闭。如果不需要修复，该主题会被移动到其他分类。

手动重建可以解决单个帖子的问题，但这不能算作解决方案。如果有很多帖子的头像没有更新，这会非常耗时。

此外，如果之前有头像，现在看起来会更糟糕，因为头像会在一段时间后删除。

 ![_20231202_100200](https://global.discourse-cdn.com/meta/original/4X/7/2/2/722be71e5ceb4778a902fae18727849192e70c1d.jpeg)

截图取自 [Usercard Redesign Experiment - #156 by ondrej](https://meta.discourse.org/t/usercard-redesign-experiment/254353/156?u=moin)

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2024年五月27日 14:04 UTC](https://meta.discourse.org/t/quote-s-use-incorrect-user-avatar-after-changing-avatar/286750/7 "2024-05-27T14:04:51Z")

</div>

这已经修复了。 🥳

> <https://github.com/discourse/discourse/pull/27184>

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2024年五月27日 14:04 UTC](https://meta.discourse.org/t/quote-s-use-incorrect-user-avatar-after-changing-avatar/286750/8 "2024-05-27T14:04:58Z")

</div>

请参阅 [Old user avatars in quoted text?](https://meta.discourse.org/t/old-user-avatars-in-quoted-text/95798) 获取此问题的最新主题。
