adjust desktop element:/ schema
This commit is contained in:
parent
fda01e0bc4
commit
32fdb6c9c3
1 changed files with 5 additions and 3 deletions
|
@ -57,6 +57,8 @@ 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}`;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue