Anonymize user quotes keeps username


(Pat David) #1

Not sure if this is going to suck or not (I feel like it probably will).

I recently anonymized a user at their request. Everything appeared to work as intended with the exception of the retention of the username in all replies where they were quoted. :frowning:

Is this expected behavior? It seems like it’ll require some work to really scrub the username association with quotes, but it also feels like it should be done for consistency?


(Jeff Atwood) #2

It has always worked this way, the replace would be very expensive.


(Pat David) #3

That’s what I figured. :grimacing:


(Jeff Atwood) #4

If you are interested in globally replacing to anonymize the quotes in other people’s posts for that user, perhaps @techAPJ can write up how to do that at some point.


(Mittineague) #5

I did some testing on this a while ago, though I never got as far as to dig into the code involved.

Rebaking old posts will result in the anonymized name being displayed.
But quotes are not the only place where prior names will display. They also remain in @ mentions and Notifications.


#6

@gerhard I just saw your post over on: Ability to merge users

With the release of 2.0.0.beta10 does anonymizing users also update their mentions, quotes and avatars as well?


(Gerhard Schlager) #7

Yes, it does. See also Anonymizing Users in Discourse


(Gerhard Schlager) #8