From aff2cc9065cad00b14a266bd59d927c7a1342f78 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Sat, 23 Jun 2018 01:21:42 +0100 Subject: [PATCH] EventTile:notif apply EmojiText to room name Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/views/rooms/EventTile.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/views/rooms/EventTile.js b/src/components/views/rooms/EventTile.js index aa2f28024e..537545c904 100644 --- a/src/components/views/rooms/EventTile.js +++ b/src/components/views/rooms/EventTile.js @@ -621,13 +621,14 @@ module.exports = withMatrixClient(React.createClass({ switch (this.props.tileShape) { case 'notif': { + const EmojiText = sdk.getComponent('elements.EmojiText'); const room = this.props.matrixClient.getRoom(this.props.mxEvent.getRoomId()); return (
- + { room ? room.name : '' } - +
{ avatar }