Users may try to redact their own join event, causing confusing behaviour
See original GitHub issueSteps to reproduce
In the Discord world, it can be common to delete the message signalling that you’ve joined a server in order to hide the fact that you joined. I am not sure why Discord allows this, but that is the case.
Users coming from this world may try to do the same in Element, by redacting their own join event. Doing so will only strip any keys other than membership
from the event’s content, meaning:
- The event does not leave the timeline.
- The user’s displayname and avatar disappear.
Additionally, the redaction does not appear in the timeline, which I found odd.
I don’t propose that this be prevented at the spec level (some people may want to remove their displayname and avatar from a room - though arguably this could just as easily be done by sending another join event). Instead, I think Element should either prevent it in the UI at the client level (don’t show the option) or otherwise warn the user when they’re about to do it. Though that may be a bit complicated to describe in plain words.
Outcome
What did you expect?
To not see users redacting their own join events and then getting confused and thinking that there’s a bug.
What happened instead?
The opposite.
Operating system
No response
Application version
No response
How did you install the app?
No response
Homeserver
No response
Will you send logs?
No
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top GitHub Comments
I misread it in the negative, it being still visible is very much intentional and done as a fix of https://github.com/vector-im/element-web/issues/20959
It still appears for me, “show hidden events” or no. Doing a clear cache and reload did not help.
The contents of the join event are:
and the redaction: