Skylar-Tech / node-red-contrib-matrix-chat

Matrix chat server support for Node-RED
GNU General Public License v3.0
31 stars 10 forks source link

Set matrix client globally if configured #21

Closed skylord123 closed 2 years ago

skylord123 commented 2 years ago

There is so much that the matrix client can do that supporting all the things would quickly become a mess. One way to get around this for now is to expose the matrix client globally so that users can use it from within a function node.

Then people can do whatever they want using the matrix-js-sdk manually.

This should be a configurable option on the server node.