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

Allow passing the server config in the msg #78

Open skylord123 opened 1 year ago

skylord123 commented 1 year ago

Currently each node requires you to select the matrix client to use. It would be cool if you could set it to msg.matrixclient and select the server based on the msg input.

This would make flows easier to re-use for multiple matrix accounts running in a single instance (no more duping is the idea).

Could either use the config node's ID (could be more difficult though) or just use the client's userId (probably the preferred way to do this).