Webapp: Fix missing messages on socket reconnect of channels

Description

Webapp: repos on 5.12v and is a regression

Steps

1. User1 opens channel A on desktop app
2. User1 switches to channel B on desktop app
3. User1 disconnects from internet
4. User2 posts 40 messages to channel A on another device,
5. User1 reconnects and switches to another channel A and switches back to channel B without any scroll or interaction in channel A.
6. Switch back to channel A and you see the ten messages between them missing

Expected: No missing messages
Observed: Missing messages

QA Test Steps

See description

Status

Mana

2

Assignee

Sudheer Timmaraju

Reporter

Sudheer Timmaraju

Epic Link

None

Fix versions

Mattermost Team

Apps

Sprint

None

Labels

GitHub Issue

None

QA Assignee

Dylan Haussermann

QA Testing Areas

Messages