mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-02-05 13:37:13 +00:00
Make the history recording optional.
This commit is contained in:
@@ -75,7 +75,7 @@ module Invidious::Routes::Watch
|
||||
end
|
||||
env.params.query.delete_all("iv_load_policy")
|
||||
|
||||
if watched && !watched.includes? id
|
||||
if watched && preferences.watch_history && !watched.includes? id
|
||||
Invidious::Database::Users.mark_watched(user.as(User), id)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user