[PLT-6800] Clear center and rhs view on other window when leaving a channel (#6723)
[PLT-6800] Clear center and rhs view on other window when leaving a channel (#6723)

* clear center and rhs view on other window when leaving a channel

* move redirection to websocket actions

* close sidebar at websocket action

rickbatka/mattermost-webapp,rickbatka/mattermost-webapp,rickbatka/mattermost-webapp,rickbatka/mattermost-webapp