Permalink to DM fails to load on -daily

Description

Only repros on daily

Steps to Reproduce

1. Open a permalink to a DM in a new window (don't have MM loaded in the page yet, or refresh the page when viewing a permalink in a DM channel) on -daily

Note: you need to have access to the DM to repro this

Expected

1. Permalink loads

Observed

1. JavaScript exception and blank page:

QA Test Steps

See description

Mana

2

Assignee

Sudheer Timmaraju

QA Assignee

None

Reporter

Jesse Hallam

Epic Link

None

Fix versions

Mattermost Team

Apps

Sprint

None

Labels

None

QA Testing Areas

Other (write in QA test steps)

GitHub Issue

None

Components

None

Severity

None
Configure