summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/mattermost/mattermost-server/model/analytics_row.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2019-02-23 16:35:54 +0100
committerGitHub <noreply@github.com>2019-02-23 16:35:54 +0100
commit3190703dc8618896c932a23d8ca155fbbf6fab13 (patch)
treeab49eb5adbe6b59945dd2b21cb378ffb7538add9 /vendor/github.com/mattermost/mattermost-server/model/analytics_row.go
parent5095db8a43491fd2c5859f25cbb89a3be40bef6d (diff)
downloadmatterbridge-msglm-3190703dc8618896c932a23d8ca155fbbf6fab13.tar.gz
matterbridge-msglm-3190703dc8618896c932a23d8ca155fbbf6fab13.tar.bz2
matterbridge-msglm-3190703dc8618896c932a23d8ca155fbbf6fab13.zip
Support rewriting messages from relaybots using ExtractNicks. Fixes #466 (#730)
some examples: this replaces a message like "Relaybot: <relayeduser> something interesting" to "relayeduser: something interesting" ExtractNicks=[ [ "Relaybot", "<(.*?)>\\s+" ] ] you can use multiple entries for multiplebots this also replaces a message like "otherbot: (relayeduser) something else" to "relayeduser: something else" ExtractNicks=[ [ "Relaybot", "<(.*?)>\\s+" ],[ "otherbot","\\((.*?)\\)\\s+" ] OPTIONAL (default empty) ExtractNicks=[ ["otherbot","<(.*?)>\\s+" ] ]
Diffstat (limited to 'vendor/github.com/mattermost/mattermost-server/model/analytics_row.go')
0 files changed, 0 insertions, 0 deletions