Skip to content
Snippets Groups Projects
Commit 32fdb6c9 authored by Bruno Windels's avatar Bruno Windels
Browse files

adjust desktop element:/ schema

parent fda01e0b
No related branches found
No related tags found
No related merge requests found
...@@ -57,9 +57,11 @@ export class Element { ...@@ -57,9 +57,11 @@ export class Element {
} }
if (platform === Platform.DesktopWeb || platform === Platform.MobileWeb || platform === Platform.iOS) { if (platform === Platform.DesktopWeb || platform === Platform.MobileWeb || platform === Platform.iOS) {
return `https://app.element.io/#/${fragmentPath}`; return `https://app.element.io/#/${fragmentPath}`;
} else if (platform === Platform.Linux || platform === Platform.Windows || platform === Platform.macOS) {
return `element://vector/webapp/#/${fragmentPath}`;
} else { } else {
return `element://${fragmentPath}`; return `element://${fragmentPath}`;
} }
} }
getLinkInstructions(platform, link) {} getLinkInstructions(platform, link) {}
...@@ -83,4 +85,4 @@ export class Element { ...@@ -83,4 +85,4 @@ export class Element {
canInterceptMatrixToLinks(platform) { canInterceptMatrixToLinks(platform) {
return platform === Platform.iOS || platform === Platform.Android; return platform === Platform.iOS || platform === Platform.Android;
} }
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment