]> Untitled Git - lemmy.git/commit
Add additional slurs configuration option. Closes #1464. (#1612)
authorPavel Balashov <ba1ashpash@gmail.com>
Wed, 26 May 2021 13:39:38 +0000 (16:39 +0300)
committerGitHub <noreply@github.com>
Wed, 26 May 2021 13:39:38 +0000 (13:39 +0000)
commit7008848f9ca9dc2f1c7a235649d298b1b9b462d8
tree59f83c596c359f99541f4cd4fa79c9507fa4c59f
parent100a56e8efce6dde702dd0f269b8cdb060615006
Add additional slurs configuration option. Closes #1464. (#1612)

* Actualize a comment about config initialization

* Add additional slurs functionality.

It is possible to additional regex for slurs filtering.
It can be done through `additional_slurs` option in config file.
config/config.hjson
crates/utils/src/settings/defaults.rs
crates/utils/src/settings/mod.rs
crates/utils/src/settings/structs.rs
crates/utils/src/utils.rs