summaryrefslogtreecommitdiffstats
path: root/src/invidious.cr
diff options
context:
space:
mode:
Diffstat (limited to 'src/invidious.cr')
-rw-r--r--src/invidious.cr5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/invidious.cr b/src/invidious.cr
index 2f39862c..616af019 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -266,11 +266,6 @@ get "/watch" do |env|
rating = video.info["avg_rating"].to_f64
engagement = ((video.dislikes.to_f + video.likes.to_f)/video.views * 100)
- if video.info["enabled_engage_types"]?
- engage_types = video.info["enabled_engage_types"].split(",")
- engage_types = engage_types.sort_by { |a| a.to_i }.join(", ")
- end
-
templated "watch"
end