diff --git a/src/components/structures/RightPanel.js b/src/components/structures/RightPanel.js
index 29747b98..d2b36cf4 100644
--- a/src/components/structures/RightPanel.js
+++ b/src/components/structures/RightPanel.js
@@ -95,6 +95,20 @@ module.exports = React.createClass({
}
},
+ onNotificationListButtonClick: function() {
+ if (this.props.collapsed || this.state.phase !== this.Phase.NotificationPanel) {
+ this.setState({ phase: this.Phase.NotificationPanel });
+ dis.dispatch({
+ action: 'show_right_panel',
+ });
+ }
+ else {
+ dis.dispatch({
+ action: 'hide_right_panel',
+ });
+ }
+ },
+
onRoomStateMember: function(ev, state, member) {
// redraw the badge on the membership list
if (this.state.phase == this.Phase.MemberList && member.roomId === this.props.roomId) {
@@ -182,7 +196,7 @@ module.exports = React.createClass({