Merge pull request #260 from AndrewRyanChama/patch-1

Remove url encoding from android element:// links
This commit is contained in:
Bruno Windels 2022-03-09 10:56:36 +01:00 committed by GitHub
commit 3a8cc2d4d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,7 +76,7 @@ export class Element {
} else if (platform === Platform.Linux || platform === Platform.Windows || platform === Platform.macOS) {
return `element://vector/webapp/#/${encodeURIComponent(fragmentPath)}`;
} else {
return `element://${encodeURIComponent(fragmentPath)}`;
return `element://${fragmentPath}`;
}
}