From 1839eaae3d9ad5a1494e150ce5c66f6fe0e842ba Mon Sep 17 00:00:00 2001 From: Andrew Ryan <89478935+AndrewRyanChama@users.noreply.github.com> Date: Fri, 4 Mar 2022 14:15:26 -0800 Subject: [PATCH] Remove url encoding from android element:// links #248 introduced url encoding for the android element:// link but this caused a regression because the encoded url cannot be picked up by android's filters. See #259 This returns the android url to its previous form which still worked. --- src/open/clients/Element.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/open/clients/Element.js b/src/open/clients/Element.js index 8317e29..453e286 100644 --- a/src/open/clients/Element.js +++ b/src/open/clients/Element.js @@ -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}`; } }