diff --git a/src/open/clients/Element.js b/src/open/clients/Element.js index 465e44e..2f426a6 100644 --- a/src/open/clients/Element.js +++ b/src/open/clients/Element.js @@ -57,9 +57,11 @@ export class Element { } if (platform === Platform.DesktopWeb || platform === Platform.MobileWeb || platform === Platform.iOS) { return `https://app.element.io/#/${fragmentPath}`; + } else if (platform === Platform.Linux || platform === Platform.Windows || platform === Platform.macOS) { + return `element://vector/webapp/#/${fragmentPath}`; } else { - return `element://${fragmentPath}`; - } + return `element://${fragmentPath}`; + } } getLinkInstructions(platform, link) {} @@ -83,4 +85,4 @@ export class Element { canInterceptMatrixToLinks(platform) { return platform === Platform.iOS || platform === Platform.Android; } -} \ No newline at end of file +}