Do not send channel_viewed event when channel ID is blank

Description

Right now, if we set the active channel to blank we are still pushing a websocket event "channel_viewed" for a null channel ID. In this case the event has no use to the clients and is just an extra message getting pumped down the WS.

When the channel ID is blank/null we should skip sending the WS event.

QA Test Steps

None

Activity

Show:
Corey Hulen
July 31, 2017, 3:47 PM

Nothing to test

Linda Mitchell
July 31, 2017, 6:03 PM

Thanks, closing, nothing to test.

Mana

2

Assignee

Corey Hulen

QA Assignee

None

Reporter

Joram Wilander

Epic Link

None

Fix versions

None

Mattermost Team

None

Sprint

None

Labels

None

QA Testing Areas

None

GitHub Issue

None

Components

None

Severity

None
Configure