From f71e07670d193e127836f769be9f70ddab5c9390 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Thu, 28 Sep 2017 17:00:26 -0600 Subject: [PATCH] Send toggle handler for the cancel button in the pinned events pane Signed-off-by: Travis Ralston --- src/components/structures/RoomView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index 5b07459299..23e5833468 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -1596,7 +1596,7 @@ module.exports = React.createClass({ onCancelClick={this.onCancelSearchClick} onSearch={this.onSearch}/>; } else if (this.state.showingPinned) { hideCancel = true; // has own cancel - aux = ; + aux = ; } else if (!myMember || myMember.membership !== "join") { // We do have a room object for this room, but we're not currently in it. // We may have a 3rd party invite to it.