Fix error in logged-out hashtag view when remote posts require log-in (#36467)

This commit is contained in:
Claire 2025-10-14 16:04:18 +02:00 committed by GitHub
parent 484225895f
commit 3232eee358
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 25 additions and 13 deletions

View file

@ -118,6 +118,8 @@ class InitialStateSerializer < ActiveModel::Serializer
terms_of_service_enabled: TermsOfService.current.present?,
local_live_feed_access: Setting.local_live_feed_access,
remote_live_feed_access: Setting.remote_live_feed_access,
local_topic_feed_access: Setting.local_topic_feed_access,
remote_topic_feed_access: Setting.remote_topic_feed_access,
}
end