diff options
author | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2021-06-03 15:52:16 +0000 |
---|---|---|
committer | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2021-06-03 15:52:16 +0000 |
commit | a5dce42c85de2d8316541348335d1dd49c2c3d89 (patch) | |
tree | bcf672834f483bcde205c1e1487d09f46c759588 /config | |
parent | 194a41611beac74502723b440e2ffff4231b238a (diff) | |
parent | dcf84ac12e830ebc17f63e2fea0bd47c75e9f981 (diff) | |
download | pleroma-a5dce42c85de2d8316541348335d1dd49c2c3d89.tar.gz |
Merge branch 'chore/rename-chat' into 'develop'
Rename the non-federating Chat feature to Shout
See merge request pleroma/pleroma!2842
Diffstat (limited to 'config')
-rw-r--r-- | config/config.exs | 5 | ||||
-rw-r--r-- | config/description.exs | 30 |
2 files changed, 15 insertions, 20 deletions
diff --git a/config/config.exs b/config/config.exs index d333c618e..2f8a18788 100644 --- a/config/config.exs +++ b/config/config.exs @@ -190,7 +190,6 @@ config :pleroma, :instance, instance_thumbnail: "/instance/thumbnail.jpeg", limit: 5_000, description_limit: 5_000, - chat_limit: 5_000, remote_limit: 100_000, upload_limit: 16_000_000, avatar_upload_limit: 2_000_000, @@ -457,7 +456,9 @@ config :pleroma, :media_preview_proxy, image_quality: 85, min_content_length: 100 * 1024 -config :pleroma, :chat, enabled: true +config :pleroma, :shout, + enabled: true, + limit: 5_000 config :phoenix, :format_encoders, json: Jason diff --git a/config/description.exs b/config/description.exs index bdde22f98..934a62a62 100644 --- a/config/description.exs +++ b/config/description.exs @@ -545,14 +545,6 @@ config :pleroma, :config_description, [ ] }, %{ - key: :chat_limit, - type: :integer, - description: "Character limit of the instance chat messages", - suggestions: [ - 5_000 - ] - }, - %{ key: :remote_limit, type: :integer, description: "Hard character limit beyond which remote posts will be dropped", @@ -1183,7 +1175,6 @@ config :pleroma, :config_description, [ alwaysShowSubjectInput: true, background: "/static/aurora_borealis.jpg", collapseMessageWithSubject: false, - disableChat: false, greentext: false, hideFilteredStatuses: false, hideMutedPosts: false, @@ -1231,12 +1222,6 @@ config :pleroma, :config_description, [ "When a message has a subject (aka Content Warning), collapse it by default" }, %{ - key: :disableChat, - label: "PleromaFE Chat", - type: :boolean, - description: "Disables PleromaFE Chat component" - }, - %{ key: :greentext, label: "Greentext", type: :boolean, @@ -2653,13 +2638,22 @@ config :pleroma, :config_description, [ }, %{ group: :pleroma, - key: :chat, + key: :shout, type: :group, - description: "Pleroma chat settings", + description: "Pleroma shout settings", children: [ %{ key: :enabled, - type: :boolean + type: :boolean, + description: "Enables the backend Shoutbox chat feature." + }, + %{ + key: :limit, + type: :integer, + description: "Shout message character limit.", + suggestions: [ + 5_000 + ] } ] }, |