Merge ea0e377628ebf286a48e09705756f24211d86f90 into 5f84a5b353132cec17bd14b0796dc11a3d0eb36d

This commit is contained in:
Fijxu 2025-12-23 07:25:35 +00:00 committed by GitHub
commit fa43cbd65a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -231,8 +231,10 @@ module Invidious::Routes::Channels
env.redirect "/post/#{URI.encode_www_form(lb)}?ucid=#{URI.encode_www_form(ucid)}"
end
thin_mode = env.params.query["thin_mode"]? || env.get("preferences").as(Preferences).thin_mode
thin_mode = thin_mode == "true"
preferences = env.get("preferences").as(Preferences)
thin_mode = env.params.query["thin_mode"]?
thin_mode = (thin_mode == "true") || preferences.thin_mode
continuation = env.params.query["continuation"]?