This issue has been migrated from #15355.
Description
Hello,
In the official documentation, erase : true should delete displayname BUT is not the case
I am still able to see the user display name when I query our room.

Steps to reproduce
- Create a user with a
displayname
- Deactivate a user with
erase : true
- Query the room where the user was joined
Homeserver
my private server
Synapse Version
synapse version 1.79
Installation Method
Debian packages from packages.matrix.org
Database
postgres
Workers
Single process
Platform
All
Configuration
No response
Relevant log output
Please see the attached picture
Anything else that would be useful to know?
No response