Skip to content

Invidious is an alternative front-end to YouTube

Add notifications to private feed

Omar Roth0b1c57b39f66
diff --git a/src/invidious.cr b/src/invidious.cr
index 573855c7..97de3fd0 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -2547,7 +2547,7 @@ get "/feed/private" do |env|
href: "#{host_url}#{env.request.resource}")
xml.element("title") { xml.text translate(locale, "Invidious Private Feed for `x`", user.email) }
- videos.each do |video|
+ (notifications + videos).each do |video|
video.to_xml(locale, host_url, xml)
end
end