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

API for changing displayname in a specific room (SPEC-230) #103

Open
matrixbot opened this issue Sep 19, 2015 · 14 comments · May be fixed by matrix-org/matrix-spec-proposals#3189
Open

API for changing displayname in a specific room (SPEC-230) #103

matrixbot opened this issue Sep 19, 2015 · 14 comments · May be fixed by matrix-org/matrix-spec-proposals#3189
Labels
A-Client-Server Issues affecting the CS API spec-omission implemented but not currently specified

Comments

@matrixbot
Copy link
Member

Submitted by @​matthew:matrix.org
Not high priority, but we theoretically support per-room display names and profile data - could be useful for manual disambiguating and other fun. Alien and others occasionally ask for it

(Imported from https://matrix.org/jira/browse/SPEC-230)

@matrixbot
Copy link
Member Author

matrixbot commented Sep 19, 2015

Links exported from Jira:

vector-web matrix-org/matrix-spec-proposals#2458

@matrixbot matrixbot added the p4 label Oct 28, 2016
@matrixbot matrixbot changed the title API for changing displayname in a specific room API for changing displayname in a specific room (SPEC-230) Oct 31, 2016
@matrixbot matrixbot added the feature Suggestion for a significant extension which needs considerable consideration label Nov 7, 2016
@jcgruenhage
Copy link
Contributor

Possibly not that rare use case:
Someone uses Matrix to communicate with people they know in real life. They'd probably want their normal name shown then. This same person also is in some Matrix channels about a game they play, for that they'd want to use their in-game name, so that others can recognize them.

@leonerd
Copy link
Contributor

leonerd commented Jun 5, 2017

There already is an API for doing this. You simply update your own m.room.member state event in the room. I've been successfully using this in some bridges/gateways, to allow them to set per-room displaynames.

@leonerd
Copy link
Contributor

leonerd commented Jun 5, 2017

@richvdh
Copy link
Member

richvdh commented Jun 5, 2017

sounds like this is just a documentation job then

@richvdh
Copy link
Member

richvdh commented Jun 5, 2017

(though we might need server-side support to ensure you can still change your "default" displayname without breaking per-room displaynames?)

@richvdh richvdh added spec-omission implemented but not currently specified and removed feature Suggestion for a significant extension which needs considerable consideration p4 labels Jun 5, 2017
@akien-mga
Copy link

So this seems to be implemented in the API already, but it's not exposed to end users in clients such as Riot, is it?

@jooert
Copy link

jooert commented Feb 26, 2018

If someone is interested in updating their displayname in certain rooms manually, I wrote a small Python script to do this.

@KitsuneRal
Copy link
Member

For the record: libQMatrixClient 0.2 supports room-specific user names and avatars.

@turt2live
Copy link
Member

Duplicate of matrix-org/matrix-spec-proposals#516 although this side has more information.

turt2live referenced this issue in turt2live/matrix-doc Jun 14, 2018
@turt2live turt2live self-assigned this Jul 3, 2018
turt2live referenced this issue in turt2live/matrix-doc Jul 4, 2018
This is current behaviour only. The behaviour for what actually happens when you set a profile after a per-room profile is undefined.

Fixes https://github.com/matrix-org/matrix-doc/issues/545
@turt2live turt2live removed their assignment Jul 25, 2018
@turt2live turt2live added the A-Client-Server Issues affecting the CS API label Sep 6, 2018
@HarHarLinks
Copy link
Contributor

Room-local display names and avatars are technically possible and "supported" in current Element and some other clients. However there are many shortcomings preventing this feature from being really nice and useful which are in my opinion absolutely necessary. I came across this thread from the issue/proposal I filed at element-hq/element-meta#370, where you can find a more in depth discussion.

Here follows a collection of my rough ideas that are at least correlated to this issue. It may make sense to split this up eventually.

  • allow adding on a display name (for oneself) when joining a room, i.e. included in the join request, as not to leak a display name between e.g. your work and gaming rooms. That display name can be set by the client and possibly be exposed as an input field in client's join room dialogs.
  • support setting some default names, especially with the advent of spaces. For example, default to my full name inside my work-space. There should be a toggle whether this default is filled in and used automatically, or just pre-filled when joining a new room. The same applies for your "global" default display name
  • decouple changing your "global" display name from propagating these changes to all rooms, overriding potentially set per-room display names. That could use this feature.
  • probably more privacy issues to be considered. Display names should not be able to "leak" to users who don't share the context (room, space, ...?) in which you use it.

@instantchow
Copy link

  • probably more privacy issues to be considered. Display names should not be able to "leak" to users who don't share the context (room, space, ...?) in which you use it.

IMHO, I don't agree that Display names need to be "leak free". The existing feature of /myroomnick does nothing to obfuscate your profile name. Extending this could allow for easy Per-Space Display Naming or other Display Name features.

Much rather have a feature to change my Display Name given what Space I'm in, automatically, than wait for a totally un-leaky method to get fleshed out.

If the user requires a higher level of profile separation, the client software should handle this through profile/account switching. PR #3189 seems to be a solution for more complete privacy.

@heyakyra
Copy link

Preventing identity leaks across communities is important to strive for, allowing people to use one account across various purposes (personal, professional, etc) but if there's a way to do this in a leaky way first without complicating a proper implementation down the line then that seems ok

@KitsuneRal
Copy link
Member

To be very clear, it is not possible to completely separate identities with profile data alone, as long as your MXID is common. Having community/group-specific profile data is a matter of convenience, not privacy. If you actually need to separate identities, use different accounts (and yes it is down to your client application(s) to manage more than one account).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Client-Server Issues affecting the CS API spec-omission implemented but not currently specified
Projects
None yet
Development

Successfully merging a pull request may close this issue.