From 753b714cd1ef652bf8f5010c556252a3e1ba2650 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Wed, 6 Nov 2019 15:39:54 +0100 Subject: [PATCH] Revert "HOTFIX: fix normalizing room names on Android" This reverts commit d47e6546acc22dac042268ac9d14ca7f30305ab7. --- react/features/base/util/uri.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/react/features/base/util/uri.js b/react/features/base/util/uri.js index d20d3146b..197b480e7 100644 --- a/react/features/base/util/uri.js +++ b/react/features/base/util/uri.js @@ -120,12 +120,8 @@ export function getBackendSafeRoomName(room: ?string): ?string { // But in this case we're fine goin on... } - try { - // Normalize the character set - room = room.normalize('NFKC'); - } catch (e) { - // Android's JSC does not seem to be a full-ICU build so this will raise an exception. - } + // Normalize the character set + room = room.normalize('NFKC'); // Only decoded and normalized strings can be lowercased properly. room = room.toLowerCase();