Show room names instead of room IDs
Categories
(Chat Core :: Matrix, enhancement)
Tracking
(Not tracked)
People
(Reporter: matrixisreal, Assigned: khushil324)
References
Details
Attachments
(1 file, 4 obsolete files)
1.61 KB,
patch
|
clokep
:
review+
|
Details | Diff | Splinter Review |
Comment 1•8 years ago
|
||
Reporter | ||
Comment 2•8 years ago
|
||
Updated•5 years ago
|
Generally, other clients proceed more or less as indicated in the specification:
- If m.room.name is set, display that one
- Otherwise, display the name of the participants inside as room name (useful for direct chats). The server provides those in
m.heroes
The aliases are "pointers" that can be used to join that room from any homeservers that registers one. There is usually one "cannonical" alias, chosen by the room admin, that can be used to share that room with others. The spec says they are preferred over displaying participants, but I have never seen this in practice (probably because room names tend to be set before aliases, and public rooms generally have both).
Comment 4•5 years ago
|
||
Attaching a WIP I had for this.
Assignee | ||
Comment 5•5 years ago
|
||
Patrick, I want to take this and continue the work. Should I?
Comment 6•5 years ago
|
||
(In reply to Khushil Mistry [:khushil324] from comment #5)
Patrick, I want to take this and continue the work. Should I?
Hey Khusil, sorry for the delay this got lost in my bugspam. Feel free to take a look at this and let me know if you have questions! I believe that bug 1589552 needs to be fixed first.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 7•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 8•5 years ago
|
||
Assignee | ||
Comment 9•5 years ago
|
||
You need to apply the patch from Bug 1589552 first.
Assignee | ||
Comment 10•5 years ago
|
||
Comment 11•5 years ago
|
||
This partially works -- it shows room names for channels with names, but it still shows the ID for private conversations.
It also oddly shows a different result than Riot for the #test:matrix.org (Riot shows "#test:matrix.org", Thunderbird with this patch shows "#test aka #freenode_#matrix-test").
I think the logic discussed in comment 3 needs to be implemented, although I'm kind of surprised the SDK doesn't do it for us?
Updated•5 years ago
|
Assignee | ||
Comment 12•5 years ago
|
||
Apply patch from bug 1348038 first.
Just small change:
conv._name = room.summary.info.title;
SDK is setting this from its side and we can use it.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 13•5 years ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/9ee88b4972cc
Show room names instead of room IDs in Matrix. r=clokep
Updated•5 years ago
|
Description
•