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>
Этот коммит содержится в:
Pablo Vélez
2024-12-19 12:20:20 -05:00
коммит произвёл GitHub
родитель a9efd0f6d5
Коммит 979522d309

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

@@ -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();