Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Also fill avatar width for channels

Chocobozzz2e3f7a5a6fba
diff --git a/scripts/migrations/peertube-4.2.ts b/scripts/migrations/peertube-4.2.ts
index 22f9ff9f00..b5e5dfebdb 100644
--- a/scripts/migrations/peertube-4.2.ts
+++ b/scripts/migrations/peertube-4.2.ts
@@ -59,6 +59,7 @@ async function run () {
for (const videoChannel of account.VideoChannels) {
try {
+ await fillAvatarSizeIfNeeded(videoChannel)
await generateSmallerAvatarIfNeeded(videoChannel)
} catch (err) {
console.error(`Cannot process channel avatar ${videoChannel.name}`, err)