-use Mix.Config
+import Config
websocket_config = [
path: "/websocket",
]
},
%{
- key: :chat_limit,
+ key: :shout_limit,
type: :integer,
- description: "Character limit of the instance chat messages",
+ description: "Character limit of the instance shout messages",
suggestions: [
5_000
]
alwaysShowSubjectInput: true,
background: "/static/aurora_borealis.jpg",
collapseMessageWithSubject: false,
- disableChat: false,
+ disableShout: false,
greentext: false,
hideFilteredStatuses: false,
hideMutedPosts: false,
"When a message has a subject (aka Content Warning), collapse it by default"
},
%{
- key: :disableChat,
- label: "PleromaFE Chat",
+ key: :disableShout,
+ label: "PleromaFE Shout",
type: :boolean,
- description: "Disables PleromaFE Chat component"
+ description: "Disables PleromaFE Shout component"
},
%{
key: :greentext,
},
%{
group: :pleroma,
- key: :chat,
+ key: :shout,
type: :group,
- description: "Pleroma chat settings",
+ description: "Pleroma shout settings",
children: [
%{
key: :enabled,
}
]
},
+ %{
+ group: :pleroma,
+ key: :mrf_follow_bot,
+ tab: :mrf,
+ related_policy: "Pleroma.Web.ActivityPub.MRF.FollowBotPolicy",
+ label: "MRF FollowBot Policy",
+ type: :group,
+ description: "Automatically follows newly discovered accounts.",
+ children: [
+ %{
+ key: :follower_nickname,
+ type: :string,
+ description: "The name of the bot account to use for following newly discovered users.",
+ suggestions: ["followbot"]
+ }
+ ]
+ },
%{
group: :pleroma,
key: :modules,