mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-18 04:49:23 +00:00
also put publicVisibility in preloaded nodeinfo
This commit is contained in:
parent
86a5cf3c82
commit
fe7045632b
|
@ -71,7 +71,11 @@ defmodule Pleroma.Web.Nodeinfo.Nodeinfo do
|
|||
restrictedNicknames: Config.get([Pleroma.User, :restricted_nicknames]),
|
||||
skipThreadContainment: Config.get([:instance, :skip_thread_containment], false),
|
||||
privilegedStaff: Config.get([:instance, :privileged_staff]),
|
||||
localBubbleInstances: Config.get([:instance, :local_bubble], [])
|
||||
localBubbleInstances: Config.get([:instance, :local_bubble], []),
|
||||
publicTimelineVisibility: %{
|
||||
federated: !Config.restrict_unauthenticated_access?(:timelines, :federated),
|
||||
local: !Config.restrict_unauthenticated_access?(:timelines, :local)
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue