Do not clear the more direct messsages list on every open (#3485)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
f9e5a9029c
Коммит
a65f1fc266
@@ -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());
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user