make RoomHeader Topic use EmojiText to be emojione-friendly

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2017-07-01 13:36:28 +01:00
parent cddac3516b
commit fde7d5eaf4
No known key found for this signature in database
GPG Key ID: 0435A1D4BBD34D64
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ module.exports = React.createClass({
}
}
if (topic) {
topic_el = <div className="mx_RoomHeader_topic" ref="topic" title={ topic } dir="auto">{ topic }</div>;
topic_el = <EmojiText dir="auto" element="div" className="mx_RoomHeader_topic" ref="topic" title={topic}>{ topic }</EmojiText>;
}
}