diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2017-02-03 14:21:10 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2017-02-03 14:21:10 -0500 |
commit | 948b557453550646ad3213cb4144055eb7db0d69 (patch) | |
tree | 2d8637cda47be797ca02c0d73a82ef7d775e690a /webapp/stores/emoji_store.jsx | |
parent | 9312469ad54cf2ff268a44e478b584549f62e2c4 (diff) | |
download | chat-948b557453550646ad3213cb4144055eb7db0d69.tar.gz chat-948b557453550646ad3213cb4144055eb7db0d69.tar.bz2 chat-948b557453550646ad3213cb4144055eb7db0d69.zip |
Partially reverted 7e9cf13aa356f991f48ba0a943bdab9b4d3c9233 (#5295)
Diffstat (limited to 'webapp/stores/emoji_store.jsx')
-rw-r--r-- | webapp/stores/emoji_store.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/stores/emoji_store.jsx b/webapp/stores/emoji_store.jsx index 212583ea8..a178ff6ae 100644 --- a/webapp/stores/emoji_store.jsx +++ b/webapp/stores/emoji_store.jsx @@ -1,7 +1,6 @@ // Copyright (c) 2016 Mattermost, Inc. All Rights Reserved. // See License.txt for license information. -import Client from '../client/web_client.jsx'; import AppDispatcher from '../dispatcher/app_dispatcher.jsx'; import Constants from 'utils/constants.jsx'; import EventEmitter from 'events'; @@ -149,7 +148,8 @@ class EmojiStore extends EventEmitter { getEmojiImageUrl(emoji) { if (emoji.id) { - return Client.getCustomEmojiImageUrl(emoji.id); + // must match Client.getCustomEmojiImageUrl + return `/api/v3/emoji/${emoji.id}`; } const filename = emoji.filename || emoji.aliases[0]; |