From a6257a11480e84e0761f48caeead3fd1846c93df Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Fri, 18 Mar 2016 16:09:00 +0000 Subject: [PATCH] show right panel if needed when viewing users --- src/components/structures/RightPanel.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/structures/RightPanel.js b/src/components/structures/RightPanel.js index 013ccfb3..6c8c09f1 100644 --- a/src/components/structures/RightPanel.js +++ b/src/components/structures/RightPanel.js @@ -82,6 +82,9 @@ module.exports = React.createClass({ onAction: function(payload) { if (payload.action === "view_user") { + dis.dispatch({ + action: 'show_right_panel', + }); if (payload.member) { this.setState({ phase: this.Phase.MemberInfo,