Skip to content
Snippets Groups Projects
Commit c378eb4b authored by James Salter's avatar James Salter
Browse files

missed a spot

parent b302bd68
No related branches found
No related tags found
No related merge requests found
...@@ -72,7 +72,7 @@ export class Element { ...@@ -72,7 +72,7 @@ export class Element {
if (isWebPlatform && trustedWebInstances.includes(link.webInstances[this.id])) { if (isWebPlatform && trustedWebInstances.includes(link.webInstances[this.id])) {
instanceHost = link.webInstances[this.id]; instanceHost = link.webInstances[this.id];
} }
return `https://${instanceHost}/#/${fragmentPath}`; return `https://${instanceHost}/#/${encodeURIComponent(fragmentPath)}`;
} else if (platform === Platform.Linux || platform === Platform.Windows || platform === Platform.macOS) { } else if (platform === Platform.Linux || platform === Platform.Windows || platform === Platform.macOS) {
return `element://vector/webapp/#/${encodeURIComponent(fragmentPath)}`; return `element://vector/webapp/#/${encodeURIComponent(fragmentPath)}`;
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment