From 201332d96cde1ef154abca0c40d99cf7c70cc845 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 16 Jul 2018 15:39:19 +0200 Subject: [PATCH] move comment after rebase --- src/components/structures/RoomView.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index 2eaf0180a9..9eb02999fd 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -309,12 +309,12 @@ module.exports = React.createClass({ } }); } else if (room) { + //viewing a previously joined room, try to lazy load members + // Stop peeking because we have joined this room previously MatrixClientPeg.get().stopPeeking(); this.setState({isPeeking: false}); - //viewing a previously joined room, try to lazy load members - // lazy load members if enabled if (SettingsStore.isFeatureEnabled('feature_lazyloading')) { MatrixClientPeg.get().loadRoomMembersIfNeeded(room.roomId);