Fix out of order posts for admins plus two minor fixes (#6886)

Этот коммит содержится в:
Joram Wilander
2017-07-10 13:58:01 -04:00
коммит произвёл Saturnino Abril
родитель 9a7453e208
Коммит 45e7ad0c34
4 изменённых файлов: 18 добавлений и 11 удалений

Просмотреть файл

@@ -13,7 +13,7 @@ import {getProfilesByIds} from 'mattermost-redux/actions/users';
import * as EmojiActions from 'mattermost-redux/actions/emojis';
export async function loadEmoji(getProfiles = true) {
const data = await EmojiActions.getAllCustomEmojis(10000)(dispatch, getState);
const data = await EmojiActions.getAllCustomEmojis()(dispatch, getState);
if (data && getProfiles) {
loadProfilesForEmoji(data);