mirror of
https://github.com/vector-im/element-web.git
synced 2025-11-10 05:01:24 +01:00
Patch react-sdk-module-api to suppress confusing logs (#30717)
`Default empty createSecretStorageKey() => null` is unhelpful at best, and indeed all the other logs from this file are redundant. Let's patch them out to help log analysis.
This commit is contained in:
parent
7ccb9355de
commit
d70a3a695e
@ -11,3 +11,42 @@ index 917a7fc..a2710c6 100644
|
|||||||
didOkOrSubmit: boolean;
|
didOkOrSubmit: boolean;
|
||||||
model: M;
|
model: M;
|
||||||
}>;
|
}>;
|
||||||
|
diff --git a/node_modules/@matrix-org/react-sdk-module-api/lib/lifecycles/CryptoSetupExtensions.js b/node_modules/@matrix-org/react-sdk-module-api/lib/lifecycles/CryptoSetupExtensions.js
|
||||||
|
index 5d422ed..b823add 100644
|
||||||
|
--- a/node_modules/@matrix-org/react-sdk-module-api/lib/lifecycles/CryptoSetupExtensions.js
|
||||||
|
+++ b/node_modules/@matrix-org/react-sdk-module-api/lib/lifecycles/CryptoSetupExtensions.js
|
||||||
|
@@ -124,34 +124,28 @@ var DefaultCryptoSetupExtensions = /*#__PURE__*/function (_CryptoSetupExtension)
|
||||||
|
(0, _createClass2["default"])(DefaultCryptoSetupExtensions, [{
|
||||||
|
key: "examineLoginResponse",
|
||||||
|
value: function examineLoginResponse(response, credentials) {
|
||||||
|
- console.log("Default empty examineLoginResponse() => void");
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: "persistCredentials",
|
||||||
|
value: function persistCredentials(credentials) {
|
||||||
|
- console.log("Default empty persistCredentials() => void");
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: "getSecretStorageKey",
|
||||||
|
value: function getSecretStorageKey() {
|
||||||
|
- console.log("Default empty getSecretStorageKey() => null");
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: "createSecretStorageKey",
|
||||||
|
value: function createSecretStorageKey() {
|
||||||
|
- console.log("Default empty createSecretStorageKey() => null");
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: "catchAccessSecretStorageError",
|
||||||
|
value: function catchAccessSecretStorageError(e) {
|
||||||
|
- console.log("Default catchAccessSecretStorageError() => void");
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: "setupEncryptionNeeded",
|
||||||
|
value: function setupEncryptionNeeded(args) {
|
||||||
|
- console.log("Default setupEncryptionNeeded() => false");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user