Skip to content

Account specific overrides for user and room names #255

@deepbluev7

Description

@deepbluev7

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions