Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
matrixbot opened this issue Nov 2, 2024 · 2 comments
Labels
C-Roomserver O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience S-Minor Blocks non-critical functionality, workarounds exist. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.

Comments

@matrixbot
Copy link
Collaborator

This issue was originally created by @lil5 at matrix-org/dendrite#3324.

Background information

  • Dendrite version or git SHA:
  • SQLite3 or Postgres?: Postgres
  • Running in Docker?: Yes
  • go version:
  • Client used (if applicable):

Description

  • What is the problem:
    Display Name of newly created user is replaced with the first person tries to communicate with them.
  • Who is affected:
    Any new user this is generated from the cmd
    On top of that this new user will be set as admin, even if the -admin flag is not used
  • How is this bug manifesting:
    The shared_secret_registration is shown as a device.
  • When did this first appear:
    After running /_synapse/admin/v1/register with a loggedin access token
ezgif-7-9342ddaa03.mov

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 matrixbot added C-Roomserver O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience S-Minor Blocks non-critical functionality, workarounds exist. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. labels Nov 2, 2024
@matrixbot
Copy link
Collaborator Author

This comment was originally posted by @S7evinK at matrix-org/dendrite#3324 (comment).

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

@matrixbot
Copy link
Collaborator Author

This comment was originally posted by @lil5 at matrix-org/dendrite#3324 (comment).

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Roomserver O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience S-Minor Blocks non-critical functionality, workarounds exist. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Projects
None yet
Development

No branches or pull requests

1 participant