Split timeline_preview setting into more granular settings (#36338)
This commit is contained in:
@@ -100,6 +100,21 @@ class REST::InstanceSerializer < ActiveModel::Serializer
|
||||
enabled: TranslationService.configured?,
|
||||
},
|
||||
|
||||
timelines_access: {
|
||||
live_feeds: {
|
||||
local: Setting.local_live_feed_access,
|
||||
remote: Setting.remote_live_feed_access,
|
||||
},
|
||||
hashtag_feeds: {
|
||||
local: Setting.local_topic_feed_access,
|
||||
remote: Setting.remote_topic_feed_access,
|
||||
},
|
||||
trending_link_feeds: {
|
||||
local: Setting.local_topic_feed_access,
|
||||
remote: Setting.remote_topic_feed_access,
|
||||
},
|
||||
},
|
||||
|
||||
limited_federation: limited_federation?,
|
||||
}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user