# Profile image changing bug

**URL:** https://meta.discourse.org/t/profile-image-changing-bug/217184
**Category:** Bug
**Created:** [February 5, 2022, 8:36am UTC](https://meta.discourse.org/t/profile-image-changing-bug/217184 "2022-02-05T08:36:37Z")
**Posts on this page:** 1
**Showing post:** 3

<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: [February 5, 2022, 11:40am UTC](https://meta.discourse.org/t/profile-image-changing-bug/217184/3 "2022-02-05T11:40:09Z")

</div>

I think changing avatar does line up a rebake of the user’s quoted posts? I’m not sure on the schedule though.

* * *

**Edit:** I am now not sure. 🙂 I have been waiting patiently for it to magically kick in on my test site, but no joy yet. I could have sworn I’d seen it in action on a forum I’m not a staff member of, but looking back over a few oneboxed and quoted links from there over the last month it appears I still have an older avatar in those. 🤔

When I searched I found this, which I thought confirmed that it did line up a rebake for them, but I think I may have got confused:

> [@Old user avatars in quoted text?](https://meta.discourse.org/t/old-user-avatars-in-quoted-text/95798/5):
>
> [Changing the avatar already triggers a rebake](https://github.com/discourse/discourse/blob/15f657309a9b457ff315482da2fe8fbbed9caa02/app/models/user.rb#L944-L945) of posts containing quotes, but it’s currently quite resource intensive to find and rebake all posts. So, it’s possible that some of them won’t be updated. Post revisions aren’t updated at all. I have plans to fix all of this when I’m working on improvements for user renaming/anonymizing in one of the next releases. It will require a new table that keeps track of all the places where a user is quoted, mentioned, oneboxed, and what not. If you want …

> <https://github.com/discourse/discourse/blob/15f657309a9b457ff315482da2fe8fbbed9caa02/app/models/user.rb#L944-L945>

---

_[View the full topic](https://meta.discourse.org/t/profile-image-changing-bug/217184)._
