Join Chat appends Matrix server name preventing us to join a different homeserver
Categories
(Chat Core :: Matrix, defect, P1)
Tracking
(thunderbird_esr78+ fixed, thunderbird81 affected)
People
(Reporter: sdk, Assigned: khushil324)
References
Details
Attachments
(1 file, 3 obsolete files)
|
3.46 KB,
patch
|
khushil324
:
review+
wsmwk
:
approval-comm-esr78+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0
Steps to reproduce:
- Open the Chat tab
- Connect to your Matrix account (e.g. @username:matrix.org)
- Click on "Join Chat" button
- Enter a room name from a different homeserver (e.g. #maildev:mozilla.org)
Actual results:
The chat join a room called #room_name:server_name:account_server_name.tld (e.g. #maildev:mozilla.org:matrix.org)
Expected results:
If a server name is specified, Join Chat shouldn't append the account server name.
Updated•5 years ago
|
Comment 1•5 years ago
|
||
I think Khushil had a patch for this?
| Assignee | ||
Comment 2•5 years ago
|
||
Comment 3•5 years ago
|
||
| Assignee | ||
Comment 4•5 years ago
|
||
| Assignee | ||
Comment 5•5 years ago
|
||
Comment 6•5 years ago
|
||
(In reply to Patrick Cloke [:clokep] from comment #3)
@@ +832,3 @@
}
- if (!roomIdOrAlias.startsWith("@") && !roomIdOrAlias.startsWith("#")) {
I do not believe that @ can be the first character of an alias or room ID.
I see that you added some comments about this, but I don't see this anywhere in the specification? In fact, when I look at room IDs I see they all start with "!". So where is this idea of it starting with an "@" coming from? I don't see that in the UI of Element or anywhere else.
| Assignee | ||
Comment 7•5 years ago
|
||
So how do we add/create rooms for direct conversations? getDirectConversation function creates the direct conversation rooms when we pass the userID. If id is starting with "@", means it's a user ID.
Comment 8•5 years ago
|
||
(In reply to Khushil Mistry [:khushil324] from comment #7)
So how do we add/create rooms for direct conversations? getDirectConversation function creates the direct conversation rooms when we pass the userID. If id is starting with "@", means it's a user ID.
So you're not suggesting that this is meant to be a proper ID, but just a way to start a direct conversation with someone (similar to double clicking on their name)?
| Assignee | ||
Comment 9•5 years ago
|
||
Yes, right.
Comment 10•5 years ago
|
||
| Assignee | ||
Comment 11•5 years ago
|
||
| Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 12•5 years ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/768dcaaaefe9
Update join chat functionality in Matrix. r=clokep DONTBUILD
Comment 13•5 years ago
|
||
Uplift to 78?
| Assignee | ||
Comment 14•5 years ago
|
||
Comment on attachment 9175695 [details] [diff] [review]
Bug-1657797_update-join-chat-matrix-3.patch
[Approval Request Comment]
Regression caused by (bug #):
User impact if declined: Matrix Chat experience will be improved.
Testing completed (on c-c, etc.):
Risk to taking this patch (and alternatives if risky): Low
Comment 15•5 years ago
|
||
Comment on attachment 9175695 [details] [diff] [review]
Bug-1657797_update-join-chat-matrix-3.patch
[Triage Comment]
Approved for esr78
Comment 16•5 years ago
|
||
| bugherder uplift | ||
Thunderbird 78.4.0:
https://hg.mozilla.org/releases/comm-esr78/rev/47cf0ae22adc
Description
•