mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-20 18:08:54 +00:00
Add 'deleted' to channel info
This commit is contained in:
@@ -3,6 +3,7 @@ class InvidiousChannel
|
||||
id: String,
|
||||
author: String,
|
||||
updated: Time,
|
||||
deleted: Bool,
|
||||
})
|
||||
end
|
||||
|
||||
@@ -187,7 +188,7 @@ def fetch_channel(ucid, client, db, pull_all_videos = true, locale = nil)
|
||||
db.exec("DELETE FROM channel_videos * WHERE NOT id = ANY ('{#{ids.map { |id| %("#{id}") }.join(",")}}') AND ucid = $1", ucid)
|
||||
end
|
||||
|
||||
channel = InvidiousChannel.new(ucid, author, Time.now)
|
||||
channel = InvidiousChannel.new(ucid, author, Time.now, false)
|
||||
|
||||
return channel
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user