You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
matterbridge/bridge/discord
Alexandre GV ac4aee39e3
discord: Add AllowMention to restrict allowed mentions (#1462)
* Add DisablePingEveryoneHere/DisablePingRoles/DisablePingUsers keys to config

* Add basic AllowedMentions behavior to discord webhooks

* Initialize b.AllowedMentions on Discord Bridger init

* Call b.getAllowedMentions on each webhook to allow config hot reloading

* Add AllowedMentions on all Discord webhooks/messages

* Add DisablePingEveryoneHere/DisablePingRoles/DisablePingUsers to matterbridge.toml.sample

* Change 'Disable' for 'Allow' and revert logic in Discord AllowedMentions

* Update Discord AllowedMentions in matterbridge.toml.sample

* Fix typo in DisableWebPagePreview

* Replace 'AllowPingEveryoneHere' with 'AllowPingEveryone'

* Replace 3 AllowPingEveryone/Roles/Users bools with an array

* Fix typo
3 years ago
..
transmitter Use valid transmitter Log default (discord) (#1402) 4 years ago
discord.go discord: Add AllowMention to restrict allowed mentions (#1462) 3 years ago
handlers.go Reject cross-channel message references (discord) (#1345) 4 years ago
handlers_test.go Fix #1049: missing space before embeds (discord) (#1124) 4 years ago
helpers.go discord: Add AllowMention to restrict allowed mentions (#1462) 3 years ago
helpers_test.go Split Discord bridge in multiple files (#632) 6 years ago
webhook.go discord: Add AllowMention to restrict allowed mentions (#1462) 3 years ago