Add logging for diagnosis

pull/21833/head
Luke Barnard 2017-06-14 16:53:21 +01:00
parent b5fd78a97f
commit ed5f01d46f
1 changed files with 9 additions and 0 deletions

View File

@ -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) {