summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@protonmail.com>2019-06-07 21:27:37 -0500
committerOmar Roth <omarroth@protonmail.com>2019-06-07 21:27:37 -0500
commit0b1c57b39f66ca34f88bfeb96d2cd1cafb37a1c6 (patch)
tree73bea48dc1a8ff5b04402c3ffab9ced216d529d9 /src
parent2febc268f784382b66373ad0b983d05eff959372 (diff)
downloadinvidious-0b1c57b39f66ca34f88bfeb96d2cd1cafb37a1c6.tar.gz
invidious-0b1c57b39f66ca34f88bfeb96d2cd1cafb37a1c6.tar.bz2
invidious-0b1c57b39f66ca34f88bfeb96d2cd1cafb37a1c6.zip
Add notifications to private feed
Diffstat (limited to 'src')
-rw-r--r--src/invidious.cr2
1 files changed, 1 insertions, 1 deletions
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