4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-07-13 19:36:28 +00:00

Allow tengo to drop messages using msgDrop (#1272)

This commit is contained in:
Wim
2020-10-21 21:57:14 +02:00
committed by GitHub
parent 1e0b4532bd
commit ae3bc3358b
2 changed files with 34 additions and 11 deletions

View File

@ -1726,7 +1726,9 @@ InMessage="example.tengo"
#outAccount, outProtocol, outChannel, outGateway, outEvent
#
#read-write:
#msgText, msgUsername
#msgText, msgUsername, msgDrop
#
#msgDrop is a bool which is default false, when set true this message will be dropped
#
#The script is reloaded on every message, so you can modify the script on the fly.
#