add room mentions and clickable room/relay refs

This commit is contained in:
2026-04-04 16:48:29 +05:30
committed by Jon Staab
parent f6d9e52c6e
commit ec0b6a99e2
10 changed files with 278 additions and 69 deletions
+3 -3
View File
@@ -63,11 +63,11 @@ export const goToSpace = async (url: string) => {
const prevPath = lastPageBySpaceUrl.get(encodeRelay(url))
if (prevPath && prevPath !== makeSpacePath(url)) {
goto(prevPath)
goto(prevPath, {replaceState: true})
} else if (window.matchMedia(`(min-width: ${theme.screens.md})`).matches) {
goto(makeSpacePath(url, "recent"))
goto(makeSpacePath(url, "recent"), {replaceState: true})
} else {
goto(makeSpacePath(url))
goto(makeSpacePath(url), {replaceState: true})
}
}