From ed5f01d46f24e1a53d38a849910d14900d53314a Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Wed, 14 Jun 2017 16:53:21 +0100 Subject: [PATCH] Add logging for diagnosis --- src/components/structures/RoomView.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index 186aaf6f75..7313b2bc33 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -170,6 +170,15 @@ module.exports = React.createClass({ isInitialEventHighlighted: RoomViewStore.isInitialEventHighlighted(), }; + // Temporary logging to diagnose https://github.com/vector-im/riot-web/issues/4307 + console.log( + 'RVS update:', + newState.roomId, + newState.roomAlias, + 'loading?', newState.roomLoading, + 'joining?', newState.joining, + ); + // NB: This does assume that the roomID will not change for the lifetime of // the RoomView instance if (initial) {