Do not clear the more direct messsages list on every open (#3485)

Этот коммит содержится в:
Joram Wilander
2016-07-05 11:32:37 -04:00
коммит произвёл Harrison Healey
родитель f9e5a9029c
Коммит a65f1fc266
3 изменённых файлов: 30 добавлений и 34 удалений

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

@@ -160,11 +160,6 @@ export function emitPostFocusEvent(postId) {
);
}
export function emitProfilesForDmList() {
AsyncClient.getProfilesForDirectMessageList();
AsyncClient.getTeamMembers(TeamStore.getCurrentId());
}
export function emitCloseRightHandSide() {
AppDispatcher.handleServerAction({
type: ActionTypes.RECEIVED_SEARCH,

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

@@ -2,6 +2,9 @@
// See License.txt for license information.
import Client from 'utils/web_client.jsx';
import * as AsyncClient from 'utils/async_client.jsx';
import TeamStore from 'stores/team_store.jsx';
export function switchFromLdapToEmail(email, password, ldapPassword, onSuccess, onError) {
Client.ldapToEmail(
@@ -20,3 +23,8 @@ export function switchFromLdapToEmail(email, password, ldapPassword, onSuccess,
onError
);
}
export function getMoreDmList() {
AsyncClient.getProfilesForDirectMessageList();
AsyncClient.getTeamMembers(TeamStore.getCurrentId());
}