projects
/
oweals
/
peertube.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Activity Pub improvements
[oweals/peertube.git]
/
server
/
lib
/
activitypub
/
actor.ts
diff --git
a/server/lib/activitypub/actor.ts
b/server/lib/activitypub/actor.ts
index 0882ab843e690ad4bd69077c2ce51900747ec36d..1e1eab54ae3d3b337b0bda2753630757c991f9df 100644
(file)
--- 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) {