mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
Improve config examples for EmojiPolicy
This commit is contained in:
parent
18a8378beb
commit
20d193c91d
1 changed files with 2 additions and 2 deletions
|
@ -231,7 +231,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.EmojiPolicy do
|
||||||
|
|
||||||
Each pattern can be a string or [Regex](https://hexdocs.pm/elixir/Regex.html) in the format of `~r/PATTERN/`.
|
Each pattern can be a string or [Regex](https://hexdocs.pm/elixir/Regex.html) in the format of `~r/PATTERN/`.
|
||||||
""",
|
""",
|
||||||
suggestions: ["foo", ~r/foo/iu]
|
suggestions: ["https://example.org/foo.png", ~r/example.org\/foo/iu]
|
||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
key: :remove_shortcode,
|
key: :remove_shortcode,
|
||||||
|
@ -251,7 +251,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.EmojiPolicy do
|
||||||
|
|
||||||
Each pattern can be a string or [Regex](https://hexdocs.pm/elixir/Regex.html) in the format of `~r/PATTERN/`.
|
Each pattern can be a string or [Regex](https://hexdocs.pm/elixir/Regex.html) in the format of `~r/PATTERN/`.
|
||||||
""",
|
""",
|
||||||
suggestions: ["foo", ~r/foo/iu]
|
suggestions: ["https://example.org/foo.png", ~r/example.org\/foo/iu]
|
||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
key: :federated_timeline_removal_shortcode,
|
key: :federated_timeline_removal_shortcode,
|
||||||
|
|
Loading…
Reference in a new issue