Add logging for diagnosis
This commit is contained in:
parent
b5fd78a97f
commit
ed5f01d46f
1 changed files with 9 additions and 0 deletions
|
@ -170,6 +170,15 @@ module.exports = React.createClass({
|
||||||
isInitialEventHighlighted: RoomViewStore.isInitialEventHighlighted(),
|
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
|
// NB: This does assume that the roomID will not change for the lifetime of
|
||||||
// the RoomView instance
|
// the RoomView instance
|
||||||
if (initial) {
|
if (initial) {
|
||||||
|
|
Loading…
Reference in a new issue