Drop the unused imports and the inert unused variables. [skip build]
This commit is contained in:
@@ -119,7 +119,6 @@ const setupKeyConflictHandler = (mx: MatrixClient, session: Session): void => {
|
||||
const KEY_CONFLICT_THRESHOLD = 3;
|
||||
|
||||
// Patch console.log/error to detect the key conflict errors
|
||||
const originalConsoleLog = console.log;
|
||||
const keyConflictPattern = /One time key.*already exists/;
|
||||
|
||||
// We need to use a different approach - listen to the crypto module
|
||||
|
||||
Reference in New Issue
Block a user