matterbridge
matterbridge copied to clipboard
Allow to ignore certain media types from Telegram
Is your feature request related to a problem? Please describe. I don't like that stickers (that add nothing to the conversation) are relayed to IRC channels.
Describe the solution you'd like
IgnoreMedia (array) config key for Telegram sections, where you can list media types (such as stickers, """gifs""", voice messages) that won't be relayed to other accounts.
Describe alternatives you've considered
-
NoSendStickers(bool) config key for Telegram sections. It'd work too but it wouldn't be flexible. -
IgnoreMedia(array) config list for all sections. It'd be the most flexible solution (would allow to disable stickers just for IRC and not for other accounts) but the hardest to implement.
Try writing a tengo script to fix this https://github.com/42wim/matterbridge/wiki/Tengo
I can't detect a sticker being sent using Tengo, because it's not in msgText.