docs(common): say relative chat links still open nothing on desktop

The comment on `EXTERNAL_PROTOCOLS` said a relative path or an
in-page `#anchor` in a chat reply was left to the webview, which read
as though the webview opened it. Those links keep the renderer's
`target="_blank"`, and the desktop instance window has no new-window
handler, so a click on one still opens nothing, as before this change.
The comment now says so.
This commit is contained in:
curiouscorrelation
2026-10-12 10:11:18 +05:30
parent b7f7526d2d
commit 55bcc815ad
@@ -1,6 +1,8 @@
/**
* Schemes a chat reply link may open outside the app. Any other link, a
* `mailto:`, a relative path or an in-page `#anchor`, is left to the webview.
* `mailto:`, a relative path or an in-page `#anchor`, is not handled here and
* keeps the renderer's `target="_blank"`, so on desktop a click on one still
* opens nothing, as before this handler.
*/
const EXTERNAL_PROTOCOLS = new Set(["http:", "https:"])