Add notifications to private feed

This commit is contained in:
Omar Roth 2019-06-07 21:27:37 -05:00
parent 2febc268f7
commit 0b1c57b39f
No known key found for this signature in database
GPG key ID: B8254FB7EC3D37F2

View file

@ -2547,7 +2547,7 @@ get "/feed/private" do |env|
href: "#{host_url}#{env.request.resource}") href: "#{host_url}#{env.request.resource}")
xml.element("title") { xml.text translate(locale, "Invidious Private Feed for `x`", user.email) } 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) video.to_xml(locale, host_url, xml)
end end
end end