MAYBE DO NOT AUTO JOIN INVITED ROOMS???

This commit is contained in:
array-in-a-matrix 2023-11-09 20:06:45 -05:00
parent 580cc94070
commit 4b8cec0ee5

View file

@ -4,7 +4,6 @@ import { MatrixClient, SimpleFsStorageProvider, AutojoinRoomsMixin, RichRepliesP
const storage = new SimpleFsStorageProvider("storage.json");
const client = new MatrixClient(config.homeserver, config.token, storage);
AutojoinRoomsMixin.setupOnClient(client);
client.addPreprocessor(new RichRepliesPreprocessor(false)); // ? remove replied message
client.start().then(() => console.log(`Client has started!`));