Class: RoomLinkValidator

RoomLinkValidator(config, asBot)

The RoomLinkValidator checks if a room should be linked to a remote channel, given a set of rules supplied in a config. The ruleset is maintained in a seperate config from the bridge config. It can be reloaded by triggering an endpoint specified in the Bridge class.

Constructor

new RoomLinkValidator(config, asBot)

Parameters:
Name Type Description
config string Config for the validator.
Properties
Name Type Description
ruleFile string Filename for the rule file.
rules string Rules if not using a rule file, will be overwritten if both is set.
asBot AppServiceBot The AS bot.
Source: