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

Account specific overrides for user and room names #255

Open
deepbluev7 opened this issue Aug 4, 2020 · 3 comments
Open

Account specific overrides for user and room names #255

deepbluev7 opened this issue Aug 4, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@deepbluev7
Copy link
Member

Is your feature request related to a problem? Please describe.
Currently assigning a name to a direct chat, sets that name for both participants. It would be useful, if you could name chats (and other users) with a name, that only you can see.

Describe the solution you'd like
Save overrides for room and display names in room or global account data, i.e. im.nheko.custom_name.<room_id> or im.nheko.custom_name.<user_id>. This should be upstreamed to the spec if possible in the future. It may also be extended to room and user avatars, maybe even more data.

Describe alternatives you've considered
You could store it in the local config or as a room state event. The former would not sync across client, the latter would be visible for everyone. I think account_data is the right location for it.

Additional context
@redsky17 renamed my direct chat room and I want to give it a different name without him noticing.

@deepbluev7 deepbluev7 added the enhancement New feature or request label Aug 4, 2020
@kamathmanu
Copy link
Contributor

@deepbluev7 Is this still an outstanding issue? I can give it a try if it hasn't been worked on yet.

@deepbluev7
Copy link
Member Author

Yes, but it is not that simple, since it needs custom account data objects in mtxclient.

@Zocker1999NET
Copy link

Zocker1999NET commented Aug 9, 2022

Hey, I wrote two MSCs which may add this feature to the spec:

  • MSC3865, which in general defines user-given attributes for users (including displayname)
  • MSC3864, which does the same for room attributes (like room name)

They may both still change in the next weeks, but I expect them to be "stable enough for implementation" in the next month. You may want to join the discussion as you already thought about implementing this feature in nheko.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants