make RoomHeader Topic use EmojiText to be emojione-friendly

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
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

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>;
}
}