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
37 stars 6 forks source link

[minor] Incorrect invitee displayname when inviting at room creation #3348

Closed matrixbot closed 3 weeks ago

matrixbot commented 3 weeks ago

This issue was originally created by @anton-molyboha at https://github.com/matrix-org/dendrite/issues/3348.

Background information

Description

The room creation endpoint /_matrix/client/v3/createRoom accepts an optional list of accounts to invite to the newly created room. When I invite somebody via this endpoint, their displayname shows as that of the inviter rather than invitee.

(sorry for poor wording, see "steps to reproduce" below, they are much more clear)

Steps to reproduce

Notice "displayname": "test1" part. The actual displayname for @anton:rendezvous.anton.molyboha.me is unset, so I expected "displayname" field to either be absent or to say "anton".

matrixbot commented 3 weeks ago

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

This should already be fixed by #3326 on main.

matrixbot commented 3 weeks ago

This comment was originally posted by @anton-molyboha at https://github.com/matrix-org/dendrite/issues/3348#issuecomment-2024174879.

Oh, my bad. Thank you!