diff options
Diffstat (limited to 'webapp/components/logged_in.jsx')
-rw-r--r-- | webapp/components/logged_in.jsx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/webapp/components/logged_in.jsx b/webapp/components/logged_in.jsx index 3b712ffe2..824e7b91d 100644 --- a/webapp/components/logged_in.jsx +++ b/webapp/components/logged_in.jsx @@ -1,21 +1,24 @@ // Copyright (c) 2016 Mattermost, Inc. All Rights Reserved. // See License.txt for license information. -import $ from 'jquery'; import LoadingScreen from 'components/loading_screen.jsx'; -import * as AsyncClient from 'utils/async_client.jsx'; + import UserStore from 'stores/user_store.jsx'; import BrowserStore from 'stores/browser_store.jsx'; import PreferenceStore from 'stores/preference_store.jsx'; -import * as Utils from 'utils/utils.jsx'; + import * as GlobalActions from 'actions/global_actions.jsx'; import * as WebSocketActions from 'actions/websocket_actions.jsx'; +import {loadEmoji} from 'actions/emoji_actions.jsx'; + +import * as Utils from 'utils/utils.jsx'; import Constants from 'utils/constants.jsx'; import {browserHistory} from 'react-router/es6'; const BACKSPACE_CHAR = 8; +import $ from 'jquery'; import React from 'react'; // import the EmojiStore so that it'll register to receive the results of the listEmojis call further down @@ -148,7 +151,7 @@ export default class LoggedIn extends React.Component { // Get custom emoji from the server if (window.mm_config.EnableCustomEmoji === 'true') { - AsyncClient.listEmoji(); + loadEmoji(false); } } |