Web: Deleting the last post in a channel causes the channel to only 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
3) Delete that post

Observed: The channel is replaced with a loading spinner. Switching channels or making a post doesn't fix this, but refreshing does
Expected: The channel is still displayed

QA Test Steps

See description

Reporter

None

Mana

None

Assignee

Sudheer Timmaraju

QA Assignee

Steve Mudie

Reporter

Harrison Healey

Epic Link

None

Fix versions

Mattermost Team

Apps

Sprint

None

Labels

None

QA Testing Areas

Messages

GitHub Issue

None

Components

None

Severity

None
Configure