Web: Making a post in an empty channel sometimes causes the channel to display a loading spinner

Description

Environment: Firefox/Mac on community-release running 5.14 RC4 and locally on master

Repro steps:
1) View an empty channel (such as a DM channel with a user you've never messaged)
2) Make a post

Observed: The channel is sometimes replaced with a loading spinner, but this isn't consistent. It seems to happen more often after making and deleting a post as in MM-17866. Switching channels or making a post doesn't fix this, but refreshing does
Expected: The channel is still displayed

QA Test Steps

See description

Status

Mana

None

Assignee

Sudheer Timmaraju

Reporter

Harrison Healey

Epic Link

None

Fix versions

Mattermost Team

Apps

Sprint

None

Labels

None

GitHub Issue

None

QA Assignee

Steve Mudie

QA Testing Areas

Messages