This commit is contained in:
Nikhil Nawgiri 2024-08-24 22:35:30 +02:00
parent c54663297c
commit 9a4fa5593a

View file

@ -21,8 +21,8 @@ const {
// will work fine for this example. // will work fine for this example.
const storage = new SimpleFsStorageProvider(storageLocation); const storage = new SimpleFsStorageProvider(storageLocation);
const cryptoProvider = new RustSdkCryptoStorageProvider(cryptoFolderLocation); const cryptoProvider = new RustSdkCryptoStorageProvider(cryptoFolderLocation);
const client = new MatrixClient(homeserverUrl, accessToken, storage, cryptoProvider); const client = new MatrixClient(homeserverUrl, accessToken, storage, cryptoProvider);
AutojoinRoomsMixin.setupOnClient(client); AutojoinRoomsMixin.setupOnClient(client);
// Before we start the bot, register our command handler // Before we start the bot, register our command handler