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

latest releases: v0.8.0, 0.7.1, 0.7.0...
3 years ago

Another awesome update!

In this release we add support for accessing the raw matrix client object globally. This way you can do whatever you want with the matrix client from within a function node.

You need to enable this from within your client configuration. Once enabled you can use the following global variables within a function node for each client you have configured:

let matrixClient = global.get("matrixClient['@bot:example.com']"),
    matrixOnline = global.get("matrixClientOnline['@bot:example.com']");

This way you are no longed limited by what nodes we have created. If you do think we need to add a node for something please do let us know.

Don't miss a new node-red-contrib-matrix-chat release

NewReleases is sending notifications on new releases.