diff options
Diffstat (limited to 'server/lib/activitypub')
-rw-r--r-- | server/lib/activitypub/actor.ts | 2 | ||||
-rw-r--r-- | server/lib/activitypub/videos.ts | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/server/lib/activitypub/actor.ts b/server/lib/activitypub/actor.ts index 34d53bd52..5fe7381c9 100644 --- a/server/lib/activitypub/actor.ts +++ b/server/lib/activitypub/actor.ts | |||
@@ -154,8 +154,6 @@ async function updateActorInstance (actorInstance: ActorModel, attributes: Activ | |||
154 | const followersCount = await fetchActorTotalItems(attributes.followers) | 154 | const followersCount = await fetchActorTotalItems(attributes.followers) |
155 | const followingCount = await fetchActorTotalItems(attributes.following) | 155 | const followingCount = await fetchActorTotalItems(attributes.following) |
156 | 156 | ||
157 | logger.info('coucou', { attributes }) | ||
158 | |||
159 | actorInstance.type = attributes.type | 157 | actorInstance.type = attributes.type |
160 | actorInstance.preferredUsername = attributes.preferredUsername | 158 | actorInstance.preferredUsername = attributes.preferredUsername |
161 | actorInstance.url = attributes.id | 159 | actorInstance.url = attributes.id |
diff --git a/server/lib/activitypub/videos.ts b/server/lib/activitypub/videos.ts index 506204674..15726f90b 100644 --- a/server/lib/activitypub/videos.ts +++ b/server/lib/activitypub/videos.ts | |||
@@ -697,6 +697,9 @@ async function createVideo (videoObject: VideoObject, channel: MChannelAccountLi | |||
697 | videoCreated.VideoLive = await videoLive.save({ transaction: t }) | 697 | videoCreated.VideoLive = await videoLive.save({ transaction: t }) |
698 | } | 698 | } |
699 | 699 | ||
700 | // We added a video in this channel, set it as updated | ||
701 | await channel.setAsUpdated(t) | ||
702 | |||
700 | const autoBlacklisted = await autoBlacklistVideoIfNeeded({ | 703 | const autoBlacklisted = await autoBlacklistVideoIfNeeded({ |
701 | video: videoCreated, | 704 | video: videoCreated, |
702 | user: undefined, | 705 | user: undefined, |