You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
Remove unused option for disabling IndexedDB
`createMatrixClient` and surrounding paths support an argument to disable IndexedDB, but it is never actually used. This removes the option to simplify the code.
This commit is contained in:
@@ -171,7 +171,7 @@ class MatrixClientPeg {
|
||||
return matches[1];
|
||||
}
|
||||
|
||||
_createClient(creds: MatrixClientCreds, useIndexedDb) {
|
||||
_createClient(creds: MatrixClientCreds) {
|
||||
const opts = {
|
||||
baseUrl: creds.homeserverUrl,
|
||||
idBaseUrl: creds.identityServerUrl,
|
||||
@@ -183,7 +183,7 @@ class MatrixClientPeg {
|
||||
verificationMethods: [verificationMethods.SAS]
|
||||
};
|
||||
|
||||
this.matrixClient = createMatrixClient(opts, useIndexedDb);
|
||||
this.matrixClient = createMatrixClient(opts);
|
||||
|
||||
// we're going to add eventlisteners for each matrix event tile, so the
|
||||
// potential number of event listeners is quite high.
|
||||
|
||||
Reference in New Issue
Block a user