diff --git a/src/HtmlUtils.js b/src/HtmlUtils.js
index c0e814e49c..2bb0ef4c04 100644
--- a/src/HtmlUtils.js
+++ b/src/HtmlUtils.js
@@ -287,7 +287,7 @@ module.exports = {
emojifyText: function(text) {
return {
- __html: emojione.unicodeToImage(escape(text)),
+ __html: unicodeToImage(escape(text)),
};
},
};