Closed Bug 1699099 Opened 3 years ago Closed 3 years ago

Matrix Homeserver discovery

Categories

(Chat Core :: Matrix, enhancement)

enhancement

Tracking

(thunderbird_esr78 wontfix)

RESOLVED FIXED
91 Branch
Tracking Status
thunderbird_esr78 --- wontfix

People

(Reporter: freaktechnik, Assigned: freaktechnik)

References

Details

Attachments

(3 files)

We currently don't properly handle finding the homeserver when creating a Matrix account.
We should use the split nick feature to have the user enter their username and "nice"
homeserver name and then run SRV and .well-known lookups for the real homeserver.

This might also give us a chance to change the account name in Thunderbird to match the actual mxid. Further this would make the "userId" preference we currently have obsolete, if we make the mxid a fixed part of the account identity.

Blocks: 1712710

The react SDK uses the data returned from login to get the correct URLs: https://github.com/matrix-org/matrix-react-sdk/blob/72fab80bb915df54f464922bbabaf9d9a7aa4b82/src/Login.ts

Assignee: nobody → martin
Status: NEW → ASSIGNED
Attachment #9227486 - Attachment description: Bug 1699099 - Homeserver URL discovery. r=clokep → Bug 1699099 - Matrix Homeserver URL discovery. r=clokep
Summary: Homeserver discovery → Matrix Homeserver discovery
Target Milestone: --- → 91 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/4fbcd5401089
Support a prefix to the chat account name and split account when pasting a full identifier. r=clokep
https://hg.mozilla.org/comm-central/rev/3699db8e0acd
Matrix Homeserver URL discovery. r=clokep

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

(In reply to Magnus Melin [:mkmelin] from comment #5)

X3 failures from this? https://treeherder.mozilla.org/jobs?repo=comm-central&selectedTaskRun=QXmBtBRQTYS4DeB99qdoqQ.0

Yeah most likely, the first patch in the stack changed irc stuff.

Flags: needinfo?(martin)

(Will clear up the tree a bit.)

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/b133bbf5ffcd
Follow up to fix IRC tests. r=mkmelin

Regressions: 1719995
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: