mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
id: drop support for room alias + event ID links
This commit is contained in:
parent
915167f459
commit
af360cd534
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ func ProcessMatrixURI(uri *url.URL) (*MatrixURI, error) {
|
|||
parsed.MXID1 = parts[1]
|
||||
|
||||
// Step 6: if the first part is a room and the URI has 4 segments, construct a second level identifier
|
||||
if (parsed.Sigil1 == '!' || parsed.Sigil1 == '#') && len(parts) == 4 {
|
||||
if parsed.Sigil1 == '!' && len(parts) == 4 {
|
||||
// a: find the sigil from the third segment
|
||||
switch parts[2] {
|
||||
case "e", "event":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue