From f1032bb1150db5e20b6979fe8e52ad52b052db5a Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Thu, 12 Oct 2017 07:05:09 -0600 Subject: [PATCH] Set isPeeking to false if peeking failed Signed-off-by: Travis Ralston --- src/components/structures/RoomView.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index f9af4801dc..6ecd7cbf2e 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -283,6 +283,7 @@ module.exports = React.createClass({ // This is fine: the room just isn't peekable (we assume). this.setState({ peekLoading: false, + isPeeking: false, }); } else { throw err;