Add notifications to private feed

pull/592/head
Omar Roth 6 years ago
parent 2febc268f7
commit 0b1c57b39f
No known key found for this signature in database
GPG Key ID: B8254FB7EC3D37F2

@ -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

Loading…
Cancel
Save