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.


new RoomLinkValidator(config, asBot)

Name Type Description
config string Config for the validator.
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.