5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-12-25 06:05:39 +00:00
matterbridge/gateway
Wim 3190703dc8
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+" ] ]
2019-02-23 16:35:54 +01:00
..
bridgemap Add initial WhatsApp support (#711) 2019-02-21 20:28:13 +01:00
samechannel Use logrus imports instead of log (#662) 2018-12-26 15:16:09 +01:00
gateway_test.go Allow regexs in ignoreNicks. Closes #690 (#720) 2019-02-17 21:49:28 +01:00
gateway.go Support rewriting messages from relaybots using ExtractNicks. Fixes #466 (#730) 2019-02-23 16:35:54 +01:00
handlers_test.go Support rewriting messages from relaybots using ExtractNicks. Fixes #466 (#730) 2019-02-23 16:35:54 +01:00
handlers.go Support rewriting messages from relaybots using ExtractNicks. Fixes #466 (#730) 2019-02-23 16:35:54 +01:00
router.go Disable updateChannelMembers for now 2019-02-21 21:26:12 +01:00