Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit ed5f01d

Browse files
author
Luke Barnard
committed
Add logging for diagnosis
1 parent b5fd78a commit ed5f01d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/components/structures/RoomView.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,15 @@ module.exports = React.createClass({
170170
isInitialEventHighlighted: RoomViewStore.isInitialEventHighlighted(),
171171
};
172172

173+
// Temporary logging to diagnose https://github.com/vector-im/riot-web/issues/4307
174+
console.log(
175+
'RVS update:',
176+
newState.roomId,
177+
newState.roomAlias,
178+
'loading?', newState.roomLoading,
179+
'joining?', newState.joining,
180+
);
181+
173182
// NB: This does assume that the roomID will not change for the lifetime of
174183
// the RoomView instance
175184
if (initial) {

0 commit comments

Comments
 (0)