Skip to content

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

Fix actor refresh

Chocobozzz6fd5ca1ec583
diff --git a/server/lib/activitypub/actor.ts b/server/lib/activitypub/actor.ts
index 0882ab843e..1e1eab54ae 100644
--- a/server/lib/activitypub/actor.ts
+++ b/server/lib/activitypub/actor.ts
@@ -320,6 +320,8 @@ async function refreshActorIfNeeded (actor: ActorModel) {
await updateActorAvatarInstance(actor, result.avatarName, t)
}
+ // Force update
+ actor.setDataValue('updatedAt', new Date())
await actor.save({ transaction: t })
if (actor.Account) {