element-hq / dendrite

Dendrite is a second-generation Matrix homeserver written in Go!
https://element-hq.github.io/dendrite/
GNU Affero General Public License v3.0
33 stars 5 forks source link

Display Name of newly created user is replaced with the first person tries to communicate with them. #3324

Closed matrixbot closed 2 weeks ago

matrixbot commented 2 weeks ago

This issue was originally created by @lil5 at https://github.com/matrix-org/dendrite/issues/3324.

Background information

Description

https://github.com/matrix-org/dendrite/assets/17646836/aa1575d9-20db-4f16-b345-a35aa5037be4

Steps to reproduce

  1. Create a first user 1 using the cli register command with the username override
  2. Login user 1 in a client like Element
  3. Create a second user 2 using the cli register command with the username user
  4. With user 1 in Element chat with user 2
  5. Before sending a chat the displayname of user 2 is user
  6. Send a message to user 2
  7. The displayname of user 2 changes to override This should not happen, user 2 is also suddenly an admin.
matrixbot commented 2 weeks ago

This comment was originally posted by @S7evinK at https://github.com/matrix-org/dendrite/issues/3324#issuecomment-1934736559.

I'm assuming you mean "room admin", right? That's the correct behavior when creating DMs.

matrixbot commented 2 weeks ago

This comment was originally posted by @lil5 at https://github.com/matrix-org/dendrite/issues/3324#issuecomment-1934849227.

Ah right, the wording is naturally confusing, but I guess thats more an issue to take up with the client devs, nevertheless 3326 will fix the main issue.