Mark more logs as debug to tidy the console (#11349)

This commit is contained in:
Michael Telatynski 2023-08-07 09:41:39 +01:00 committed by GitHub
parent 24703eea8f
commit 6a14362697
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -1805,7 +1805,7 @@ class TimelinePanel extends React.Component<IProps, IState> {
this.context.timelineRenderingType,
);
if (events.length === 0 || !room || !cli.isRoomEncrypted(room.roomId) || isThreadTimeline) {
logger.info("checkForPreJoinUISI: showing all messages, skipping check");
logger.debug("checkForPreJoinUISI: showing all messages, skipping check");
return 0;
}
@ -1851,12 +1851,12 @@ class TimelinePanel extends React.Component<IProps, IState> {
// reached an undecryptable message when the user wasn't in the room -- don't try to load any more
// Note: for now, we assume that events that are being decrypted are
// not decryptable - we will be called once more when it is decrypted.
logger.info("checkForPreJoinUISI: reached a pre-join UISI at index ", i);
logger.debug("checkForPreJoinUISI: reached a pre-join UISI at index ", i);
return i + 1;
}
}
logger.info("checkForPreJoinUISI: did not find pre-join UISI");
logger.debug("checkForPreJoinUISI: did not find pre-join UISI");
return 0;
}