From a67b32b3cee3501f74819812e25bd339ee0ae3ed Mon Sep 17 00:00:00 2001 From: Ajay Bura Date: Thu, 27 Jan 2022 11:20:36 +0530 Subject: [PATCH] Twemojify name suggestion Signed-off-by: Ajay Bura --- src/app/organisms/room/RoomViewCmdBar.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/organisms/room/RoomViewCmdBar.jsx b/src/app/organisms/room/RoomViewCmdBar.jsx index 8a9feb5..b274c36 100644 --- a/src/app/organisms/room/RoomViewCmdBar.jsx +++ b/src/app/organisms/room/RoomViewCmdBar.jsx @@ -5,6 +5,8 @@ import './RoomViewCmdBar.scss'; import parse from 'html-react-parser'; import twemoji from 'twemoji'; +import { twemojify } from '../../../util/twemojify'; + import initMatrix from '../../../client/initMatrix'; import { toggleMarkdown } from '../../../client/action/settings'; import * as roomActions from '../../../client/action/room'; @@ -143,7 +145,7 @@ function renderSuggestions({ prefix, option, suggestions }, fireCmd) { }); }} > - {member.name} + {twemojify(member.name)} )); }