diff --git a/app/initial_state.js b/app/initial_state.js index e6a0e451b..d6bfb544d 100644 --- a/app/initial_state.js +++ b/app/initial_state.js @@ -55,18 +55,10 @@ const state = { errors: [], requests: { channels: { - getChannel: { - status: 'not_started', - error: null, - }, getChannels: { status: 'not_started', error: null, }, - myMembers: { - status: 'not_started', - error: null, - }, createChannel: { status: 'not_started', error: null, @@ -75,31 +67,7 @@ const state = { status: 'not_started', error: null, }, - updateChannelNotifyProps: { - status: 'not_started', - error: null, - }, - joinChannel: { - status: 'not_started', - error: null, - }, - deleteChannel: { - status: 'not_started', - error: null, - }, - updateLastViewedAt: { - status: 'not_started', - error: null, - }, - getChannelStats: { - status: 'not_started', - error: null, - }, - addChannelMember: { - status: 'not_started', - error: null, - }, - removeChannelMember: { + myChannels: { status: 'not_started', error: null, }, @@ -135,30 +103,10 @@ const state = { status: 'not_started', error: null, }, - deletePost: { - status: 'not_started', - error: null, - }, getPostThread: { status: 'not_started', error: null, }, - getPosts: { - status: 'not_started', - error: null, - }, - getPostsSince: { - status: 'not_started', - error: null, - }, - getPostsBefore: { - status: 'not_started', - error: null, - }, - getPostsAfter: { - status: 'not_started', - error: null, - }, }, teams: { getMyTeams: { @@ -169,36 +117,16 @@ const state = { status: 'not_started', error: null, }, - createTeam: { - status: 'not_started', - error: null, - }, - updateTeam: { - status: 'not_started', - error: null, - }, - getMyTeamMembers: { - status: 'not_started', - error: null, - }, - getTeamMembers: { - status: 'not_started', - error: null, - }, - getTeamStats: { - status: 'not_started', - error: null, - }, - addUserToTeam: { - status: 'not_started', - error: null, - }, - removeUserFromTeam: { + joinTeam: { status: 'not_started', error: null, }, }, users: { + checkMfa: { + status: 'not_started', + error: null, + }, login: { status: 'not_started', error: null, @@ -207,35 +135,11 @@ const state = { status: 'not_started', error: null, }, - getProfiles: { + autocompleteUsers: { status: 'not_started', error: null, }, - getProfilesInTeam: { - status: 'not_started', - error: null, - }, - getProfilesInChannel: { - status: 'not_started', - error: null, - }, - getProfilesNotInChannel: { - status: 'not_started', - error: null, - }, - getStatusesByIds: { - status: 'not_started', - error: null, - }, - getSessions: { - status: 'not_started', - error: null, - }, - revokeSession: { - status: 'not_started', - error: null, - }, - getAudits: { + updateMe: { status: 'not_started', error: null, }, diff --git a/app/screens/channel_members/index.js b/app/screens/channel_members/index.js index 64bdef801..f563f41fd 100644 --- a/app/screens/channel_members/index.js +++ b/app/screens/channel_members/index.js @@ -27,9 +27,6 @@ function makeMapStateToProps() { currentChannelId, currentChannelMembers, currentUserId: state.entities.users.currentUserId, - requestStatus: state.requests.users.getProfilesInChannel.status, - searchRequestStatus: state.requests.users.searchProfiles.status, - removeMembersStatus: state.requests.channels.removeChannelMember.status, theme: getTheme(state), }; }; diff --git a/package-lock.json b/package-lock.json index be35dcdb6..a4feaa757 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8376,8 +8376,8 @@ "integrity": "sha1-izqsWIuKZuSXXjzepn97sylgH6w=" }, "mattermost-redux": { - "version": "github:mattermost/mattermost-redux#c8364a767889a8759969b8c1591b0c6ae5e1b77c", - "from": "github:mattermost/mattermost-redux#c8364a767889a8759969b8c1591b0c6ae5e1b77c", + "version": "github:mattermost/mattermost-redux#e6a49c935c4c3b732b374f5223d851ae44a80136", + "from": "github:mattermost/mattermost-redux#e6a49c935c4c3b732b374f5223d851ae44a80136", "requires": { "deep-equal": "1.0.1", "eslint-plugin-header": "2.0.0", diff --git a/package.json b/package.json index 48e0134bb..a1b47c35e 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "intl": "1.2.5", "jail-monkey": "1.0.0", "jsc-android": "236355.1.0", - "mattermost-redux": "github:mattermost/mattermost-redux#c8364a767889a8759969b8c1591b0c6ae5e1b77c", + "mattermost-redux": "github:mattermost/mattermost-redux#e6a49c935c4c3b732b374f5223d851ae44a80136", "mime-db": "1.37.0", "moment-timezone": "0.5.23", "prop-types": "15.6.2",