From 6fd5ca1ec5831383be299514b1df8958b0e968df Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 11 Jan 2018 14:19:18 +0100 Subject: [PATCH] Fix actor refresh --- server/lib/activitypub/actor.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/lib/activitypub/actor.ts b/server/lib/activitypub/actor.ts index 0882ab843..1e1eab54a 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) { -- 2.25.1