Skip to content
This repository has been archived by the owner on Mar 5, 2023. It is now read-only.

direct message rooms should use human readable name instead of internal room ID #6

Open
onePinger opened this issue Apr 17, 2019 · 1 comment · May be fixed by #11
Open

direct message rooms should use human readable name instead of internal room ID #6

onePinger opened this issue Apr 17, 2019 · 1 comment · May be fixed by #11
Labels
enhancement New feature or request

Comments

@onePinger
Copy link

Direct message rooms are displayed using the room id which doesn't display the user name

Instead of displaying Internal room ID: !OTfeVaBRMxLeEkCMvQ:foo.bar.com tag editor should show Unamed_room (UserID)

@turt2live turt2live added the enhancement New feature or request label Apr 17, 2019
jakecoppinger added a commit to jakecoppinger/matrix-tag-manager that referenced this issue Oct 29, 2021
If only one member is found in a room, set the room name to
`Unnamed ($MEMBERNAME)`.

If more than one member is found the room name is left as null and the
raw Matrix address is used (as previous behaviour).

Lazy loading is used so member list is not necessarily exhaustive.
The only situation I can imagine this failing is when only one other
user has been messaging in a group chat for a long time.

To guarantee all members are retrived a request to /members for a specified room would be required (not implemented).

Closes turt2live#6
@jakecoppinger
Copy link

Hello! I wrote a pull request to fix this behaviour: #11

I encountered this when using the EMS account migrator. Direct messages convert to rooms incorrectly, and I found this tool to change them back.

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