generated from array-in-a-matrix/matrix-bot-template
MAYBE DO NOT AUTO JOIN INVITED ROOMS???
This commit is contained in:
parent
580cc94070
commit
4b8cec0ee5
1
index.js
1
index.js
|
@ -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!`));
|
||||
|
||||
|
|
Loading…
Reference in a new issue