From ebb43e64a68b83817d46203b11f66bad11439740 Mon Sep 17 00:00:00 2001 From: Nikhil Dewoolkar Date: Tue, 12 Dec 2023 21:58:02 +0530 Subject: [PATCH] Update MentionUserRenderer.js for issue 26016 --- .../HTMLEngineProvider/HTMLRenderers/MentionUserRenderer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/HTMLEngineProvider/HTMLRenderers/MentionUserRenderer.js b/src/components/HTMLEngineProvider/HTMLRenderers/MentionUserRenderer.js index fbdacb6b47b0..24ad2dd27428 100644 --- a/src/components/HTMLEngineProvider/HTMLRenderers/MentionUserRenderer.js +++ b/src/components/HTMLEngineProvider/HTMLRenderers/MentionUserRenderer.js @@ -45,7 +45,7 @@ function MentionUserRenderer(props) { navigationRoute = ROUTES.PROFILE.getRoute(htmlAttribAccountID); } else if (!_.isEmpty(props.tnode.data)) { // We need to remove the LTR unicode and leading @ from data as it is not part of the login - displayNameOrLogin = props.tnode.data.replace(CONST.UNICODE.LTR, '').slice(1); + displayNameOrLogin = props.tnode.data.replace(CONST.UNICODE.LTR, '').slice(1).toLowerCase(); accountID = _.first(PersonalDetailsUtils.getAccountIDsByLogins([displayNameOrLogin])); navigationRoute = ROUTES.DETAILS.getRoute(displayNameOrLogin);