Skip to content

0.2.1

Compare
Choose a tag to compare
@skylord123 skylord123 released this 03 Sep 14:57
· 123 commits to master since this release

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.