From af360cd534faf911d6dfb6e26bbaa48983a554ae Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Thu, 17 Oct 2024 20:02:23 +0300 Subject: [PATCH] id: drop support for room alias + event ID links --- id/matrixuri.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/id/matrixuri.go b/id/matrixuri.go index acd8e0c0..2637d876 100644 --- a/id/matrixuri.go +++ b/id/matrixuri.go @@ -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":