aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-11 14:19:18 +0100
committerChocobozzz <me@florianbigard.com>2018-01-11 14:19:18 +0100
commit6fd5ca1ec5831383be299514b1df8958b0e968df (patch)
tree0dbcc65b7c7e70565d13438616bc0be86dbfa59d
parent7bc29171456ffa91c7ec8dc77e892c7dca359989 (diff)
downloadPeerTube-6fd5ca1ec5831383be299514b1df8958b0e968df.tar.gz
PeerTube-6fd5ca1ec5831383be299514b1df8958b0e968df.tar.zst
PeerTube-6fd5ca1ec5831383be299514b1df8958b0e968df.zip
Fix actor refresh
-rw-r--r--server/lib/activitypub/actor.ts2
1 files changed, 2 insertions, 0 deletions
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) {
320 await updateActorAvatarInstance(actor, result.avatarName, t) 320 await updateActorAvatarInstance(actor, result.avatarName, t)
321 } 321 }
322 322
323 // Force update
324 actor.setDataValue('updatedAt', new Date())
323 await actor.save({ transaction: t }) 325 await actor.save({ transaction: t })
324 326
325 if (actor.Account) { 327 if (actor.Account) {