Mm 62229 schmsg not removed on reconnect (#29623)
* MM-62229 - scheduled messages not updated on reconnect * validate websocket connection-disconection time * Add current team id * remove debugging code * remove debugging timeout * remove unnecessary time in the logs * remove unnecessary time in the logs * remove unnecessary comment --------- Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
@@ -49,6 +49,7 @@ import {
|
||||
receivedPost,
|
||||
} from 'mattermost-redux/actions/posts';
|
||||
import {loadRolesIfNeeded} from 'mattermost-redux/actions/roles';
|
||||
import {fetchTeamScheduledPosts} from 'mattermost-redux/actions/scheduled_posts';
|
||||
import {batchFetchStatusesProfilesGroupsFromPosts} from 'mattermost-redux/actions/status_profile_polling';
|
||||
import * as TeamActions from 'mattermost-redux/actions/teams';
|
||||
import {
|
||||
@@ -239,6 +240,7 @@ export function reconnect() {
|
||||
}
|
||||
|
||||
dispatch(fetchAllMyTeamsChannels());
|
||||
dispatch(fetchTeamScheduledPosts(currentTeamId, true));
|
||||
dispatch(fetchAllMyChannelMembers());
|
||||
dispatch(fetchMyCategories(currentTeamId));
|
||||
loadProfilesForSidebar();
|
||||
|
||||
Ссылка в новой задаче
Block a user