Bypass rageshake when warning about devtools (#7717)

This commit is contained in:
Šimon Brandner 2022-02-04 14:30:18 +01:00 committed by GitHub
parent 78373e86ea
commit ddb15cb19e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 1 deletions

View file

@ -527,7 +527,8 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
"and contribute!",
);
console.log(
global.mx_rage_logger.bypassRageshake(
"log",
`%c${waitText}\n%c${scamText}\n%c${devText}`,
`font-size:${largeFontSize}; color:blue;`,
`font-size:${normalFontSize}; color:red;`,